Skip to content

Email

Email integration gives agents the ability to read, send, forward, and manage emails via IMAP and SMTP. You can also configure Errand to automatically create tasks from incoming emails.

  • An email account with IMAP and SMTP access
  • An app-specific password is recommended (e.g. Gmail App Passwords, or equivalent for your provider)
  1. Open the Errand UI and go to Settings > Integrations
  2. Find the Email card and click it
  3. Fill in the following fields:
FieldDescriptionExample
SecurityEncryption method for email connectionsSSL/TLS or STARTTLS
IMAP ServerYour email provider’s IMAP server addressimap.gmail.com
IMAP PortThe IMAP server port993
SMTP ServerYour email provider’s SMTP server addresssmtp.gmail.com
SMTP PortThe SMTP server port465
Email AddressThe email account to connectyou@gmail.com
PasswordYour password or app-specific password
Task ProfileWhich task profile handles email-triggered tasksSelect from dropdown
Poll IntervalHow often to check for new emails (minimum 60 seconds)120 (seconds)
Authorised RecipientsWhitelist of email addresses the agent is allowed to send or forward to (one per line)colleague@company.com
  1. Click Test & Save — Errand will verify both IMAP and SMTP connectivity

The poll interval sets how frequently Errand checks for new emails. If your email server supports IMAP IDLE (most modern servers do), Errand will receive near-instant notifications of new emails, and the poll interval acts as a fallback.

Once connected, agents have the following capabilities during task execution:

  • List emails — browse messages in your inbox and other folders
  • Read email content — open and read individual messages
  • Send emails — compose and send new emails (to authorised recipients only)
  • Forward emails — forward messages to authorised recipients
  • Move emails — move messages between folders
  • List folders — see available mailbox folders

Certain folders (Trash, Junk, Spam) are automatically excluded from agent access.

When the email integration is active, incoming emails can automatically create new tasks. The task will use the Task Profile you selected during configuration. This is useful for workflows like support tickets, approvals, or any email-driven process.

IssueSolution
Authentication failureUse an app-specific password instead of your regular password — most providers require this when IMAP access is enabled
Connection timeoutDouble-check the server addresses and ports — common IMAP ports are 993 (SSL) and 143 (STARTTLS), common SMTP ports are 465 (SSL) and 587 (STARTTLS)
Can’t send emailsVerify your SMTP configuration and make sure the recipient is listed in Authorised Recipients
Emails not being detectedCheck the poll interval and ensure IMAP access is enabled in your email provider’s settings