Connection Options
Accounts are managed under Settings → Apps preferences. This page only appears if your role has the User Apps permission.
Google Account (Gmail & Google Calendar)
- Go to Settings → Apps preferences and open the Accounts tab
- Click Connect with Google. If you already have an account connected, open Gmail and Calendar in the Apps tab instead and click Connect with Google, or Add account if a Google account is already connected
- Authorize Twenty to access your Gmail and Google Calendar
- Configure email sync settings (visibility, auto-creation) → click Next
- Configure calendar sync settings (visibility, auto-creation) → click Finish Setup
- Your emails and calendar events will start syncing automatically
Microsoft Account (Outlook & Microsoft Calendar)
- Go to Settings → Apps preferences and open the Accounts tab
- Click Connect with Microsoft. If you already have an account connected, open Outlook in the Apps tab instead and click Connect with Microsoft, or Add account if a Microsoft account is already connected
- Authorize Twenty to access your Outlook and Microsoft Calendar
- Configure email sync settings (visibility, auto-creation) → click Next
- Configure calendar sync settings (visibility, auto-creation) → click Finish Setup
- Your emails and calendar events will start syncing automatically
IMAP/SMTP/CalDAV Setup (Other Providers)
For other email and calendar providers:- Go to Settings → Apps preferences, open the Accounts tab and click Connect via IMAP/SMTP (or open IMAP in the Apps tab and click Connect via IMAP/SMTP, or Add account if an IMAP account is already connected)
- Configure IMAP settings to sync incoming email and SMTP settings to send email
- Configure CalDAV settings for calendar. You can set up any combination of the three
- Click Save. Twenty tests the connection before saving it
Self-hosting on an internal network: By default, Twenty refuses outbound connections to private/internal IP addresses (SSRF protection). If your mail, calendar or identity provider server runs on a local/private IP (e.g. an on-premise server on a LAN), connections to it will be blocked. To allow them, list the hostnames or IP literals in the following environment variable on the server:Entries are matched on the hostname only (
keycloak, not http://keycloak:8080/realms/…), without wildcards. Every other outbound request (HTTP workflow actions, webhooks, SSO and IMAP/SMTP/CalDAV connections) stays protected, and even an allowed host can never reach the cloud metadata address range. Set it to * to disable the protection entirely, which is only appropriate on trusted, isolated networks. If you previously set OUTBOUND_HTTP_SAFE_MODE_ENABLED=false, remove it: while it is set, the protection stays fully off and the list is ignored.Multiple Mailboxes
- Unlimited Accounts: Connect multiple email accounts per user
- Sender Selection: Choose which account sends each email you write in Twenty
- Sync Settings: Configure different settings per mailbox
Email Configuration
Message Visibility
Choose different levels of visibility for your emails:- Metadata: Share only basic information (participants and timestamp)
- Subject and metadata: Share subject line along with metadata
- Everything: Share subject, body and attachments
Contact Auto-Creation
- Sent and Received: Create contacts for people you’ve sent emails to and received emails from
- Sent: Create contacts only for people you’ve sent emails to
- None: No automatic contact creation
- Note: By default, internal emails (where all participants share your domain) are not synced to protect privacy
When enabled, contacts are automatically linked to their Company records based on their email domain. If the company doesn’t exist yet, Twenty creates it for you.
Syncing internal emails: The “internal emails not synced” behavior is the default, but it can be turned off:
- Go to Settings → Communication
- Enable the Sync Internal Emails toggle to include emails where all participants share the same domain
Control which emails get synced with Message Folder Selection
Control which email folders sync with Twenty:- Go to Settings → Apps preferences, open the Accounts tab and select your connected email account
- In the Emails tab, under Import, choose:
- Everything: Import all emails
- Some folders: Import only the folders or labels you select, such as Inbox, Sent or custom folders
- External Emails: All emails with external contacts from selected folders
- Internal Emails: Not synced by default (same domain emails remain private). Turn on Sync Internal Emails under Settings → Communication to include them workspace-wide.
- Attachments: Imported with each email and shown in the thread
Calendar Configuration
Event Visibility
Choose what will be visible to other users in your workspace:- Everything: The whole event’s details will be shared with your team
- Metadata: Only date and participants will be shared with your team
Contact Auto-Creation for Meetings
- Auto-creation on: Automatically create contacts for meeting participants not in your CRM
- Auto-creation off: Only link meetings to existing contacts
When enabled, contacts are automatically linked to their Company records based on their email domain. If the company doesn’t exist yet, Twenty creates it for you.
Control which events get synced
- Sync calendar: Pause or resume importing events from this account
- Exclude private events: Don’t import events marked as private
- Meetings: Calendar events with external participants
- Contact Linking: Events automatically linked to CRM records
- Team Events: Shared calendar visibility
Sync Frequency
Updates every 5 minutes: Both email and calendar data sync automatically every 5 minutes after the initial import.Initial sync timing: Calendar sync completes quickly (usually within minutes), while email sync takes longer for large mailboxes. Twenty imports emails at approximately 400 messages per minute (limited by Gmail API rate limiting), so a mailbox with 10,000 emails takes about 25 minutes. Don’t worry if you see contacts from calendar events appearing before your email contacts; this is normal behavior.