Pricing
from $0.01 / 1,000 results
Go to Apify Store
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
a month ago
Last modified
Categories
Share
Email Actor (SMTP / IMAP)
An Apify Actor built for MCP server integration. It lets an AI agent send and fetch emails over standard SMTP and IMAP β no proprietary API required.
Actions
fetchβ reads emails from a mailbox via IMAPsendβ sends an email via SMTP
Environment variables
| Variable | Used by |
|---|---|
IMAP_HOST, IMAP_PORT, IMAP_USER, IMAP_PASSWORD | fetch |
SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORD | send |
Default ports: IMAP 993 (TLS), SMTP 465 (TLS).
Input
Fetch
{"action":"fetch","mailbox":"INBOX","filter":"unseen","limit":10}
Filter options: all, unseen, seen, from:address@example.com, subject:some text.
Send
{"action":"send","to":"someone@example.com","subject":"Hello","text":"Plain text body","html":"<p>Optional HTML body</p>"}
Output
Fetch
[{"subject":"...","from":"sender@example.com","date":"2026-05-05","body":"..."}]
Send
[{"messageId":"<abc@smtp.example.com>","to":"...","subject":"..."}]
