I've just started migrating to emacs notmuch from another emacs mail client.
My situation is that I have multiple email accounts and I want to mirror the
web interface of each e-mail service, so I can use either the web interface or
Setting notmuch-fcc-dirs allows me to do this (as far as I can tell), by
choosing the correct "sent" maildir depending on "From" filed.
Now I'd also like drafts to be saved in different maildirs depending on the
"From" field of the active message; however, there is no notmuch-draft-dirs
with analogous behavior, instead, there's only notmuch-draft-folder, which
only allows one constant string.
Currently I have:
(setq notmuch-fcc-dirs '(("work.com" . "\"work/Sent Items\" -unread -inbox" )
("somemail.com" . "\"private/Sent Items\" -unread -inbox" )))