I recently set up mu/mu4e to manage my email in emacs. Everything is/was working correctly: sending, receiving, deleting, etc.
The one issue I'm running into is that if I mark messages in my inbox with "refile" ("r" in evil mode) and then execute the command, it appears that the command executed correctly. However, when I then jump to my Archive folder, I don't see any of the emails.
Here's what I've done so far to troubleshoot. If I manually look for the messages in a terminal by going into my mu maildir, I can see the archived messages. Additionally if I run \`mu find some-message\` I can see emails in the Archive directory. If I send my self a new email and then archive it, I can see it in emacs. But then if I update, it dissappears, so it looks like I can only see unread emails. Has anyone encountered this before? I did some googling but couldn't find anything on this specific topic.
Emacs and mu/mu4e versions provided below, along with my config.
Emacs 27.1
mu/mu4e 1.5.7
OS: Linux - POP\_OS (Ubuntu Derivative)
;; Receiving mail
(setq
mu4e-maildir "~/.mail"
mu4e-attachment-dir "~/Downloads"
mu4e-sent-folder "/myemail/Sent" ;; folder for sent messages
mu4e-drafts-folder "/myemail/Drafts" ;; unfinished messages
mu4e-trash-folder "/myemail/Trash" ;; trashed messages
mu4e-refile-folder "/myemail/Archive")
(setq mu4e-get-mail-command "mbsync -a"
mu4e-use-fancy-chars t
mu4e-view-show-addresses t
mu4e-view-show-images t)
;; When set to nil, mail must me manually retrieved
(setq mu4e-update-interval nil)
;; Sending mail
;; tell message-mode how to send mail
(setq message-send-mail-function 'smtpmail-send-it)
;; if our mail server lives at smtp.example.org; if you have a local
;; mail-server, simply use 'localhost' here.
(setq mu4e-sent-folder "/myemail/Sent"
;; mu4e-sent-messages-behavior 'delete ;; Unsure how this should be configured
user-mail-address "my-email"
user-full-name "my-name"
smtpmail-local-domain (system-name)
smtpmail-smtp-user "my-name"
smtpmail-default-smtp-server "some-server.com"
smtpmail-smtp-server "some-server.com"
;;smtpmail-stream-type 'starttls
smtpmail-smtp-service 587)