Skip to content

Email Tools

Eight tools for managing email: reading, sending, searching, and organizing messages.

Tools

ToolDescriptionConfirmation
email_listList messages in the inboxauto-approve
email_readRead a specific messageauto-approve
email_searchSearch messages by criteriaauto-approve
email_sendCompose and send an emailalways-confirm
email_replyReply to a messagealways-confirm
email_mark_readMark messages as read or unreadalways-confirm
email_deleteDelete messagesalways-confirm
email_waitWait for an email matching criteriaauto-approve

Configuration

Email tools require IMAP/SMTP configuration. Set up email access in your config:

yaml
email:
  imap:
    host: "imap.example.com"
    port: 993
    tls: true
  smtp:
    host: "smtp.example.com"
    port: 587
    tls: true

Email credentials are stored securely via the credential system.

Usage Examples

List recent messages

email_list:
  folder: "INBOX"
  limit: 20
  unread_only: true

Search messages

email_search:
  query: "from:boss@company.com subject:quarterly"
  since: "2025-06-01"

Send email

email_send:
  to: "team@company.com"
  subject: "Deployment Complete"
  body: "The v2.1 release has been deployed to production."
  cc: "manager@company.com"

Wait for email

email_wait:
  from: "ci@company.com"
  subject: "Build Complete"
  timeout: 300

Useful for automation workflows that need to wait for confirmation emails.

Security

  • Credentials are stored encrypted (AES-256-GCM)
  • Email content is never persisted to memory unless explicitly requested
  • Send and reply operations always require confirmation
  • Delete operations always require confirmation

See Credentials for how email secrets are managed and Tools Overview for the full tool catalog.