{ config , lib , pkgs , ... }: { accounts.email.maildirBasePath = "mail"; accounts.email.accounts."nerdy@peppe.rs" = { address = "nerdy@peppe.rs"; folders = { drafts = "drafts"; sent = "sent"; trash = "trash"; inbox = "inbox"; }; imap = { host = "mail.postale.io"; port = 993; }; maildir = { path = "personal"; }; mbsync = { enable = true; create = "maildir"; expunge = "maildir"; }; primary = true; passwordCommand = "${pkgs.gnupg}/bin/gpg -q --for-your-eyes-only --no-tty -d /home/np/.password-store/email/personal.gpg"; realName = "Akshay"; signature = { text = '' -- Akshay ''; }; smtp = { host = "mail.postale.io"; port = 587; tls.useStartTls = true; }; userName = "nerdy@peppe.rs"; notmuch.enable = true; msmtp.enable = true; }; }