2.8 Folders

The next step is to tell mu4e where it can find your Maildir, and some special folders.

So, for example4:

;; these are actually the defaults
(setq
  mu4e-sent-folder   "/sent"       ;; folder for sent messages
  mu4e-drafts-folder "/drafts"     ;; unfinished messages
  mu4e-trash-folder  "/trash"      ;; trashed messages
  mu4e-refile-folder "/archive")   ;; saved messages

The folder (maildir) names are all relative to the root-maildir (see the output of mu info). If you use mu4e-context, see Contexts and special folders for what that means for these special folders.


Footnotes

(4)

Note that the folders (mu4e-sent-folder, mu4e-drafts-folder, mu4e-trash-folder and mu4e-refile-folder) can also be functions that are evaluated at runtime. This allows for dynamically changing them depending on the situation. See Dynamic folders for details.