/email/. Sending is handled via SMTP.
Config
Config Reference
Common Resource Settings
Filesystem Layout
INBOX, Sent, Drafts).
Date Directories
Inside each folder, messages are grouped into date subdirectories formatted asYYYY-MM-DD. The date is derived from the message’s
Date header.
Message Files
Each message is stored as a.email.json file. The filename shape is:
Attachments
Messages that have attachments get a companion subdirectory with the same base name (without.email.json):
Cache
The Email resource usesIndexCacheStore (same as Gmail, Slack,
Discord, and other resources). Index entries store folder names,
message UIDs, and message metadata.
Example
Finding UIDs
Resource-specific commands require message UIDs. These can be extracted from the filesystem:Shell Commands
Standard commands available on the mounted email tree:
Resource-specific commands:
email-send
Send a new email.
Returns the sent message status JSON.
email-reply
Reply to a message.
Returns the sent reply JSON.
email-reply-all
Reply-all to a message.
Returns the sent reply JSON.
email-forward
Forward a message to another recipient.
Returns the forwarded message JSON.
email-triage
Search and triage emails.
Returns matching messages as JSON.
email-read
Read a message by its UID.
Returns the full message JSON.