Tor Mailo Trigger

Read Mailo emails through Tor and emit them as trigger items

Tor Mailo Trigger

AI-generated

Summary

Poll configured Mailo email accounts via Tor at a specified interval to fetch new messages from a specified mailbox, optionally mark them as read or flagged, download attachments, and emit formatted email data as trigger items.

Inputs

  • Mailbox Name — Mailbox to check for new messages for every account in the credential (default: 'INBOX').
  • Action — Optional action to perform after fetching a message; either do nothing or mark the message as read.
  • Flagged after read — Boolean flag to set the '\Flagged' flag on messages after successful fetch.
  • Download Attachments — Boolean flag indicating whether to download email attachments as binary data in output items.
  • Format — Format to return the email data: 'raw' returns base64 raw email, 'resolved' returns fully parsed email and attachments, 'simple' returns a lighter email structure.
  • Options.Custom Email Rules — JSON array string containing IMAP search criteria to filter emails (default '["UNSEEN","UNFLAGGED"]').
  • Options.Polling Interval (Seconds) — Interval in seconds between polling Mailo accounts via Tor (minimum 5 seconds, default 60).
  • Options.Attachment Prefix — Prefix string for naming binary attachment keys in output items (default 'attachment_').
  • Options.Include Tor Route Metadata — Boolean flag to include Tor route metadata (exit IP and whether traffic is routed through Tor) in each emitted item by performing an additional check.

Output shape

a list of email items emitted as trigger events, each item containing JSON with message data plus optional binary attachments

The output items include metadata about the account and mailbox; message format depends on 'Format' parameter; attachments are included as binary data if enabled; the trigger polls all accounts from the selected Mailo Tor credential; messages can be optionally marked read and/or flagged after fetching; the trigger handles transient errors with recovery logic and supports session rotation and Tor control for NEWNYM commands.

Examples

Example 1: Fetch new unseen and unflagged emails every minute from the INBOX of all Mailo accounts over Tor, mark them read after fetching, and download attachments

Mailbox Name='INBOX', Action='Mark as Read', Flagged after read=true, Download Attachments=true, Format='resolved', Options.Custom Email Rules='["UNSEEN","UNFLAGGED"]', Polling Interval=60 seconds

Links

Discussion