| name | email |
| description | Read flagged emails from Maildir (mblaze) and draft replies via n8n-hooks. |
Email Access
Flagged emails live in /var/mail/flagged/ (read-only Maildir). Use mblaze:
mscan /var/mail/flagged/{cur,new}/
mshow /var/mail/flagged/cur/<filename>
mhdr -h From -h Subject -h Date /var/mail/flagged/cur/<filename>
mshow -t <file>
mshow -x <file>
mpick -t 'from =~ "someone"' /var/mail/flagged/{cur,new}/
mthread /var/mail/flagged/{cur,new}/ | mscan
Drafting Emails
Use n8n-hooks to store drafts in IMAP for review before sending:
n8n-hooks store-draft --to "a@example.com" --subject "Hi" --body-plain "Hello"
n8n-hooks store-draft \
--to "a@example.com" --cc "b@example.com" --bcc "c@example.com" \
--from "other@thalheim.io" \
--subject "Re: Thread" \
--body-plain "text" --body-html "<p>text</p>" \
--in-reply-to "<msgid@host>" --references "<msgid@host>" \
--attach file.pdf
echo "body" | n8n-hooks store-draft --to "a@example.com" --subject "Hi" --body-plain -