My email setup, now under source control as it is getting rather complex!
- My emails come in to my FastMail account.
- mbsync is used to keep a local copy of my emails synchronised using IMAP. (Much more efficient and reliably than offlineimap once set up correctly. Unfortunately setting it up correctly wasn't trivial).
- My pre and post synchronisation scripts are run which take care of keeping
enforcing the tag to folder mapping as specified in .davemailrc. For example
a message with the tag
inboxshould be moved to theINBOXfolder and a message with no relevant tags should be moved to theArchivefolder. - Those scripts also run my pre and post synchronisation hooks in Emacs, which I then use to update my modeline display etc.
- Notmuch Emacs client is then used for reading and tagging message. Gnus alias for handling my different email identities + signatures.
- Outgoing emails are sent using msmtp and the msmtpq script, back out via FastMail's servers.
(Not actually supposed to be used by other people...)
- Install Emacs, Notmuch, msmtp, msmtpq, isync, gpg etc.
- Set up my Emacs config.
- Create
password.gpgwith the FastMail password.
- Run
./syncmailto do a complete mail synchronisation every two minutes. - Run
./syncmail 1to fetch incoming emails every 30 seconds. - Press Enter to have the script synchronise again immediately.
- Figure out how to consider the address the original email was to when forwarding emails. Currently the wrong alias is often used.
- Figure out algorithm to fix broken line wrapping in Rietveld emails.
- Figure out why forwarded messages sometimes get mangled.
- Ditch webmail / mobile email completely?!
- Set up imapnotify to trigger mbsync, rather than polling.
- If sending fails and the mail is later sent from the msmtp queue the Fcc copy to the Sent folder is not written.
- Sending emails using msmtp blocks Emacs, which sucks when the connection to Fastmail is slow.
- Remove hard-coded paths to password.gpg somehow.