You will certainly not regret adding this NixOS module
services.furpoll = { enable = true; cookie = "b=abc123; x=y; ..."; from = "furpoll <furpoll@you.net>"; to = "Nyonker <nyonker@aloha.wizzfizz>"; };