Skip to content

Mail ​

The Mail section (/mail) — working with personal and work mailboxes right inside the platform: folders, reading messages, replies, sending, attachments. You can connect any number of mailboxes — the platform talks to provider servers over standard IMAP and SMTP, messages stay on the provider's server (only account settings are stored in the platform database).

Below — settings for Gmail, Outlook/Microsoft 365, Yandex and Mail.ru. The general scheme is the same for any provider; alternative servers are described at the end.

Connect a mailbox ​

  1. Open Mail. An empty section offers Connect mail, otherwise use the Add mail button in the header.
  2. Fill in the form:
    • Name — how the mailbox is labeled in the list;
    • Email and Login — usually the same thing: the full mail address;
    • Server and Port for IMAP and SMTP, Security — from the provider table below;
    • Password — for almost every provider this is an app password, not your regular mail password.
  3. Enable Check connection on save (or press Check) — the platform performs an IMAP login and reports whether the mailbox connected.

A mailbox can be edited (Mail settings), disabled — settings and the password stay, messages are not loaded — or deleted. Messages on the provider's server remain either way. A disabled mailbox moves to Archive and leaves the shared lists: all inboxes, starred, drafts, sent, and the sender picker. The same button in the archive turns it back on.

Each mailbox has New folder in its folder list: a name and, if needed, the folder it should live inside. The folder is created on the provider's server.

In the message list and in an open message, the star marks a favorite and the trash icon moves the message to Trash. Starred shows starred messages from every mailbox. The same action inside Trash deletes the message from the server — the platform asks for confirmation first.

App password

All major providers (Google, Microsoft, Yandex, Mail.ru) do not let third-party applications in with a regular password. First enable two-factor authentication (2FA), then create an app password specifically for UniShift — that is what you enter in the form. The password is stored encrypted in the platform and is never returned via the API.

Gmail (@gmail.com, Google Workspace) ​

ServerPortSecurity
IMAPimap.gmail.com993SSL/TLS
SMTPsmtp.gmail.com465SSL/TLS

SMTP alternative: port 587, STARTTLS.

Preparation:

  1. App password: Google Account → Security → 2-Step Verification (enable if off) → at the bottom of the section — App passwords → create a password (for example named "UniShift").
  2. Make sure IMAP is on: in Gmail on the web ⚙️ → See all settings → Forwarding and POP/IMAP → "Enable IMAP" (on by default in new accounts).

For Google Workspace mailboxes the login is the full corporate address (user@company.ru). If the domain administrator has blocked "less secure app access", app passwords may be disabled by domain policy — contact your administrator.

Outlook / Microsoft 365 ​

ServerPortSecurity
IMAPoutlook.office365.com993SSL/TLS
SMTPsmtp.office365.com587STARTTLS

SMTP alternative for personal mailboxes: port 465, SSL/TLS.

Preparation:

  • Personal mailbox (@outlook.com, @hotmail.com, @live.com): Microsoft account security → Advanced security options → enable two-step verification → App passwords → create a new one.
  • Microsoft 365 work mailbox: a regular password may be forbidden by organization policy. An administrator needs to enable SMTP AUTH for the user (Exchange admin center → Users → Mailboxes → Manage email settings → SMTP AUTH); then the same app password from the Microsoft account is used.

Yandex (@yandex.ru, Yandex 360) ​

ServerPortSecurity
IMAPimap.yandex.ru993SSL/TLS
SMTPsmtp.yandex.ru465SSL/TLS

SMTP alternative: port 587, STARTTLS.

Preparation:

  1. App password: Yandex ID → Security → App passwords → Mail → generate a password.
  2. Enable IMAP access: in Yandex Mail ⚙️ → All settings → Email clients → enable "From imap.yandex.ru via IMAP".

For Yandex 360 domain mailboxes the login is the full address on the domain.

Mail.ru ​

ServerPortSecurity
IMAPimap.mail.ru993SSL/TLS
SMTPsmtp.mail.ru465SSL/TLS

SMTP alternative: port 587, STARTTLS.

Preparation:

  1. App password: Mail.ru Mail → ⚙️ Settings → Security → Passwords for external applications → create a password (a time-limited one is fine).
  2. Enable IMAP: in the same settings — Email clients → check "Work with mail via IMAP".

If it does not connect ​

  • "Failed to connect" — check in order: app password (not the regular one), port and security (993/SSL/TLS for IMAP; 465/SSL or 587/STARTTLS for SMTP), whether IMAP is enabled in provider settings.
  • IMAP connected, messages are not sent — wrong SMTP port/security: 465 = SSL/TLS, 587 = STARTTLS. Outlook only supports 587/STARTTLS.
  • Mailbox connected but folders are empty / no new messages — messages arrive on the provider's server as they come; press Refresh. The platform does not cache messages, it opens the mailbox live.
  • Password changed or app password revoked — the mailbox card shows an error status; open Mail settings and enter the new password.

Mail in automations ​

Once connected, the mailbox is available to flow nodes (Flow Manager): send email, list messages, full message, attachment → platform file. Details — the Mail Service docs. Files attached to messages can be saved into space files and used further in chats and flows.

Other providers ​

Any server with IMAP/SMTP connects through the same form — take the values from the provider's documentation. A typical combo: IMAP 993 + SSL/TLS, SMTP 465 + SSL/TLS (or 587 + STARTTLS). What the Security field values mean:

ValueMeaning
SSL/TLSencryption from the very start of the connection (implicit TLS) — ports 993 and 465
STARTTLSplain connection first, then upgrade to TLS — port 587
No encryptiondo not use for external providers: the password travels in plain text