Email Actor avatar

Email Actor

Under maintenance

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Email Actor

Email Actor

Under maintenance

For MCP server

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

Gytis Ščipokas

Gytis Ščipokas

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

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 IMAP
  • send — sends an email via SMTP

Environment variables

VariableUsed by
IMAP_HOST, IMAP_PORT, IMAP_USER, IMAP_PASSWORDfetch
SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORDsend

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": "..." }]