← Integrations catalog

IMAP Email

v1.0.0 imap in the platform 1.0 KB 1 connector

Included in the platform · also .usint

pack-imap.usint

SHA-256 · d9bb6f17c635…

Download .usint

About IMAP Email and the integration

IMAP (Internet Message Access Protocol) is a standard application-layer protocol used to access email on a mail server. The protocol is supported by all mail services (Yandex 360, Mail.ru, Gmail, Exchange, Dovecot, Postfix) and lets you work with mail folders without deleting messages from the server.

The UniShift Flow Manager connector package for IMAP connects to any mailbox through IMAP4rev1 (including SSL/TLS and STARTTLS). The connectors search letters by sender, subject, date and flags, download attached files (invoices, acts, waybills) and mark letters as read.

The IMAP integration in UniShift automates the processing of incoming mail: when a letter with the 'Invoice payment' subject arrives, UniShift downloads the PDF attachment, recognizes the data and passes it for processing to 1C or the CRM.

The package is built to the corporate security and fault-tolerance standards of UniShift Platform. It supports continuous monitoring of the connection state, automatic rotation of keys and access tokens, end-to-end traffic encryption (TLS 1.3) and the isolation of secrets in a secure vault. The connector architecture includes a built-in retry buffering mechanism (Retry Policy) and caching of reference data, which guarantees reliable operation of business processes even during short failures on the external API side.

What the integration package can do

  • Secure connection to any mail servers through IMAP4rev1 with SSL/TLS and OAuth2
  • Searching and filtering incoming letters by criteria: subject, sender address, date range, flags
  • Extracting the letter text (HTML/Plain Text), headers and service metadata
  • Automatic downloading and saving of attached files of any format (PDF, XLSX, DOCX)
  • Managing letter flags: marking as read (SEEN), archiving or deleting
  • Integration with OCR and AI services for automatic parsing of document contents
  • Monitoring incoming mail in real time with minimal processing delay

Connectors in the package

Store API keys and secrets in the platform: Settings → Environments. Add an Environment node to the flow — the variables become available as {{env.KEY}}.

IMAP · Get messages

imap-fetch-messages

out · imap

LIST+FETCH

Parameters (inputs)

Field Key Type
Folder folder string optional
Limit limit number optional

Environment variables

Variable Purpose Value Where to get
IMAP_HOST Incoming mail IMAP server hostname (imap.gmail.com, etc.) Mail provider documentation
IMAP_PASS IMAP password / app password Password or app password Mailbox security settings
IMAP_USER IMAP login Email Mail account

API: GET /api/integrations/pack-imap · GET /api/integrations/pack-imap/download