Skip to main content

IMAP

Overview​

The IMAP server enables AI assistants to access and manage email accounts using the IMAP protocol, supporting reading, searching, organizing, and deleting messages across any IMAP-compatible email provider.

Add to Civic

Connect IMAP at app.civic.com

Available Tools (11)​

ToolDescription
copy_emailsCopy emails to a different folder, keeping originals in place
delete_emailsDelete emails by UID (soft delete to Trash or permanent)
get_attachmentDownload a specific attachment by filename from an email
get_emailFetch complete email content including body, all headers, and CC/BCC recipients
get_email_headersLightweight header-only fetch (subject, sender, date, Message-ID, etc.)
get_folder_statusRetrieve folder statistics including total messages and unread count
list_attachmentsList attachment metadata for an email (filename, MIME type, size)
list_emailsList emails in a folder with pagination, returning newest first
list_foldersList all folders and mailboxes in the IMAP account
mark_emailsMark emails as read/unread or flagged/unflagged
move_emailsMove emails to a different folder, removing them from the source
search_emailsAdvanced email search with filters for sender, subject, date, body, and flags

Guardrails​

In addition to the 14 universal guardrails, this server has 14 server-specific guardrails across 6 operations.

note

IMAP has a rich, operationally-specific guardrail set — covering batch size limits, deletion protection, verified sender enforcement, and sensitive search term blocking.

GuardrailOperationTimingDescription
Maximum Copy Batch Sizecopy_emailsRequestLimits copies to max 50 per operation
Delete Folder Restrictiondelete_emailsRequestRestricts which folders emails can be deleted from
Maximum Delete Batch Sizedelete_emailsRequestLimits deletes to max 10 per operation
Prevent Permanent Deletiondelete_emailsRequestForces soft-delete to trash instead of permanent deletion
Protect INBOX from Deletiondelete_emailsRequestPrevents deleting directly from INBOX
Attachment Verified Senders Onlyget_attachmentResponseBlocks attachment downloads from unverified senders
Email Verified Senders Onlyget_emailResponseBlocks email content from unverified senders
List Emails Verified Senders Onlylist_emailsResponseRedacts email list content from unverified senders
Maximum Mark Batch Sizemark_emailsRequestLimits marks to max 100 per operation
Allowed Destination Foldersmove_emailsRequestRestricts which folders emails can be moved to
Maximum Move Batch Sizemove_emailsRequestLimits moves to max 50 per operation
Protected Source Foldersmove_emailsRequestPrevents moving emails out of protected folders
Block Common Sensitive Terms in Searchsearch_emailsRequestBlocks searches for passwords, SSN, credit cards, API keys, etc.
Block Custom Sensitive Terms in Searchsearch_emailsRequestBlocks searches for org-specific sensitive terms
tip

Configure guardrails via the Civic UI or ask the Configurator Agent: "Add guardrails to my IMAP server."