Email
Research
Email engineering guide

A planned DewEngine mailbox retrieval flow

The intended retrieval API will offer one secure message shape across official Gmail, Microsoft Graph, and standards-based IMAP connectors while keeping provider truth available.

Research surface only. This guide documents architecture and evaluation criteria; it does not describe a released DewEngine connector.
01
Status

Design target, not an available endpoint

DewEngine does not yet retrieve production mailboxes. The target is a hosted connection followed by account-scoped list and get operations, with real provider conformance required before any connector is sold.

02
List operation

Return a bounded, stable mailbox view

A list request should support account, container, time, participant, unread, and attachment filters; return an opaque cursor; and provide summary fields without automatically downloading every message body.

  • DewEngine and provider IDs
  • Thread and participant summary
  • Labels, folders, or flags
  • Body and attachment availability
03
Get operation

Hydrate content only with explicit permission

A message detail request should return normalized headers, text and HTML alternatives, attachments, and raw provider extensions according to the connected account's granted scopes and the application's own authorization.

04
Freshness

Pair reads with a synchronization state

Every response should make account health and last successful sync visible. Products need to distinguish current data from a mailbox that is reconnecting, rate-limited, or awaiting a full resync.

  • Last provider checkpoint
  • Sync lag
  • Account health
  • Item-level parse error
Questions

Before you build.

Will the planned API return raw MIME?+

Where the provider supplies it and permissions allow it, raw MIME can be exposed as an optional representation. The common response should remain parsed and provider-neutral.

Will listing messages download every attachment?+

No. The intended design lists attachment metadata first and retrieves binary content only when requested.

Can I use DewEngine's email connectors today?+

Not yet. Gmail, Microsoft Graph, and IMAP/SMTP connectors are planned. This guide documents the intended architecture and the provider requirements a production release must satisfy.

Build with us

Does this match the workflow your users need?

DewEngine is in development. Real use cases decide what ships first.

Share your use case