;; uses mu4e-fetch-field which is rel. slow, so only appropriate
;; for mu4e-view-fields, and _not_ mu4e-headers-fields
:function (lambda (msg)
- (or (string-join (seq-take (split-string (mu4e-fetch-field msg "X-Spam-Status") " ") 2) " ") "")))))
+ (or (string-join (seq-take (split-string (or (mu4e-fetch-field msg "X-Spam-Status") "") " ") 2) " ") "")))))
(add-to-list 'mu4e-view-fields :spam-status)
-b
;; Resize image attachments when sending email
(defvar mu4e-resize-image-types '("jpg" "png" "svg" "jpeg")