Skip to content

[Feature Request] Integrate Generic Email Support via IMAP #3202

@Pakchoioioi

Description

@Pakchoioioi

Required prerequisites

Motivation

Please integrate generic email support into CAMEL using IMAP credential–based access. This integration should allow the framework to connect with any IMAP-compatible email provider (e.g. enterprise-hosted mail servers).

Solution

Functional Reference

Actions (IMAP Email)

  • Fetch Emails – Retrieve emails from a folder (supports filters: unread, with attachments, sender, subject)
  • Get Email by ID – Retrieve a specific email and its metadata/attachments.
  • Send Email – Send an email via SMTP (paired with IMAP credential).
  • Reply to Email – Send a reply to an existing email.
  • Move Email to Folder – Move or label an email.
  • Delete Email – Delete a specified email.
  • Download Attachment – Download attachments from an email.

Triggers (IMAP Email)
(This integration design should prioritize robust polling since IMAP does not provide native webhook callbacks.)

  • New Email Received – Polling (detects new messages in Inbox).
  • New Email Matching Search – Polling (e.g., unread + subject filter, unread + with attachment).
  • New Flagged/Starred Email – Polling (detects when an email is flagged/starred).
  • New Message in Folder – Polling (detects new messages in a specified folder, e.g., “Support Tickets”).

Alternatives

No response

Additional context

No response

Metadata

Metadata

Labels

EigentP1Task with middle level priorityenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions