Skip to main content
Version: 3.2.0

IMAP email source

Overview​

A client can send scanned photos by email and Tower protects each attachment the same way it polls an FTP directory.

How it works​

One IMAP connector (imapflow + mailparser). The mailbox is polled on the hourly discover and on demand from the source page. Each matching attachment becomes a task. The last IMAP UID is the cursor, stored like the FTP last-trigger timestamp.

Key files​

  • src/protocol/source/email/ - IMAP poll, filters, task queue
  • src/protocol/source/source.service.ts - discover and per-source watch
  • src/protocol/source/ftp/ftp.service.ts - watch count and disconnected skip
  • src/core/data/data.service.ts - shared disconnected check
  • src/app.controller.ts - POST config/source/watch
  • src/config.dto.ts - email fields and watch body
  • src/core/configuration/config.schema.ts - email config validation
  • ui/src/pages/workflows/ - wizard, summary, Check now
  • docs/user/configuration/sources.md - email source (EN and FR)
  • docs/user/configuration/examples.md - email YAML example (EN and FR)

Known issues​

  • None recorded in the 3.2.0 fragment.

Next steps​

  • None from this release.