Set up an email account
Click the key icon to open API Credentials and select Email (IMAP/SMTP) under the Email category. The panel provides:- A provider dropdown with built-in presets: Gmail, Outlook, Yahoo, iCloud, ProtonMail, Fastmail, and custom. Presets fill in the IMAP/SMTP host, port, and encryption for you.
- Email address and password inputs.
- A custom IMAP/SMTP block (host + port for each) that appears only when the provider is custom — for self-hosted or unlisted servers.
- Save writes the credentials; Remove clears them.
You can also override any credential field per node: a node parameter always wins over the provider preset, which wins over the stored credential.
Email Send
Send an email over SMTP. Also usable as an AI tool (email_send) — wire it to an AI Agent’s tools handle and the agent fills the same parameters.
Parameters
select
default:"gmail"
gmail, outlook, yahoo, icloud, protonmail, fastmail, or custom — picks the connection presetstring
required
Recipient(s), comma-separated
string
required
Email subject line
string
Email body — plain text or HTML depending on
body_typestring
CC recipients
string
BCC recipients
select
default:"text"
text or html. HTML sends a multipart/alternative MIME message.Output
from (the resolved sender address) merged with whatever the underlying send command returns — often an empty object on success, or raw_output when the CLI output is not JSON.
Example: Send a status update
Email Read
Read and manage an IMAP mailbox: list envelopes, search, fetch a full message, list folders, move, delete, and flag. One node, seven operations selected by the Operation parameter. Also usable as an AI tool (email_read).
Parameters
select
default:"gmail"
Connection preset (same choices as Email Send)
select
default:"list"
list, search, read, folders, move, delete, or flagstring
default:"INBOX"
IMAP folder to operate on
Output
operation and folder. When the CLI returns a JSON object its keys are merged in; a list is wrapped under data; non-JSON output lands in raw_output.
Example: Find invoices
Email Receive
Polling trigger that fires when a new email lands in a watched IMAP folder. The first poll establishes a baseline so existing mail is not replayed; subsequent polls diff message IDs to detect new arrivals.Parameters
select
default:"gmail"
Connection preset (same choices as Email Send)
string
default:"INBOX"
IMAP folder to watch
number
default:"60"
Seconds between polls (clamped to 30-3600)
string
Reserved — not currently applied during polling
boolean
default:"false"
Add the
Seen flag to the new message after fetching itOutput
message_id and folder are always present; the remaining fields are whatever the message read returns (from, to, subject, date, body, …).
Example: Watch the support inbox
Example: Auto-reply triage
Answer incoming support mail automatically:-
Email Receive
- Folder:
INBOX - Poll Interval: 60
- Mark As Read: true
- Folder:
-
AI Agent
- Prompt: “Read the incoming email and draft a short, polite reply. If it is a billing question, say the billing team will follow up within one business day.”
-
Email Send
- To: the sender of the incoming message
- Subject:
Re:plus the original subject - Body: the agent’s draft
Tips
Related
Google Workspace
API-native Gmail nodes with OAuth sign-in
AI Agents
Use the email nodes as AI tools
Schedulers & Triggers
Combine email with scheduled workflows
Messaging & Social
Telegram, Twitter/X, and social nodes