Email Actor
Pricing
from $0.01 / 1,000 results
Go to Apify Store
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer
Gytis Ščipokas
Maintained by Community
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day 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": "..." }]