{ pkgs, ... }: { accounts.email = { maildirBasePath = "/home/emenel/.maildir"; accounts = { "matt@emenel.ca" = { address = "matt@emenel.ca"; realName = "Matt Nish-Lapidus"; primary = true; mu.enable = true; mbsync = { enable = true; create = "both"; extraConfig.channel = { CopyArrivalDate = true; Sync = "All"; }; }; msmtp.enable = true; flavor = "fastmail.com"; passwordCommand = "rbw get mu4e-fastmail"; # thunderbird.enable = true; }; "admin@studyoftime.org" = { address = "admin@studyoftime.org"; realName = "ISST Web Admin"; mu.enable = true; mbsync = { enable = true; create = "both"; extraConfig.channel = { CopyArrivalDate = true; }; }; msmtp.enable = true; passwordCommand = "rbw get admin@studyoftime"; imap.host = "imap.dreamhost.com"; smtp.host = "imap.dreamhost.com"; userName = "admin@studyoftime.org"; # thunderbird.enable = true; }; # "m.nishlapidus@utoronto.ca" = { # address = "m.nishlapidus@utoronto.ca"; # realName = "Matt Nish-Lapidus"; # imap.host = "outlook.office365.com"; # imap.port = 993; # smtp.host = "smtp.office365.com"; # smtp.port = 587; # userName = "m.nishlapidus@utoronto.ca"; # thunderbird.enable = true; # }; }; }; programs = { mu.enable = true; mbsync = { enable = true; }; msmtp.enable = true; thunderbird = { enable = true; package = pkgs.thunderbird-latest; profiles.emenel = { isDefault = true; }; }; }; }