WebsitePlatform Login

IMAP Mailbox

Configure IMAP email ingestion as a DataVault source

In meinGPT (UI)

For most teams, setup is done directly in meinGPT without editing local config files.

  1. Open admin settings in meinGPT
  2. Go to Data Pools / Data Sources
  3. Click Add Source and choose this source type
  4. Configure credentials and scope in the UI
  5. Save and trigger the first sync

If you do not run your own DataVault runtime, this is usually all you need.

On-Prem Runtime Configuration (Advanced)

data_pools:
  - id: support-mailbox
    type: imap
    imap_server: "imap.example.com"
    imap_user: $IMAP_USER
    imap_password: $IMAP_PASSWORD
    imap_port: 993
    imap_use_ssl: true
    folders: "INBOX,Support"
    exclude_folders: "Spam,Trash"

Configuration Options

FieldTypeDefaultRequiredDescription
idstring-βœ…Unique identifier for the data pool
typestring-βœ…Must be imap
imap_serverstring-βœ…IMAP server hostname
imap_userstring-βœ…IMAP username
imap_passwordstring-βœ…IMAP password
imap_portinteger993❌IMAP port
imap_use_sslbooleantrue❌Enable SSL/TLS
imap_timeoutinteger60❌Connection timeout in seconds
foldersstringnull❌Comma-separated include folders
exclude_foldersstringnull❌Comma-separated exclude folders
overwrite_existingbooleanfalse❌Reprocess already synced emails
strip_attachmentsbooleanfalse❌Keep attachment metadata only
max_messagesintegernull❌Maximum messages per run
ssl_key_filestringnull❌Optional client key file
ssl_cert_filestringnull❌Optional client cert file

Synchronization

  • Vault reads messages from configured folders and stores them as local sync files.
  • Next sync runs continue incrementally; overwrite_existing controls reprocessing behavior.
  • You can cap run size via max_messages for controlled rollouts.

Setup

  1. Create a read-only mailbox/service account
  2. Restrict folder scope (folders and exclude_folders)
  3. Start with a low max_messages limit
  4. Validate sync results, then increase limits

On-prem only: this source page is relevant when you operate your own DataVault runtime and configure data_pools yourself.

On this page