Notes for engineers.
Technical articles on email, calendar and contacts integrations, written for teams weighing their options. New posts on Mondays; follow the feed.
Articles
Syncing IMAP without a push API: UIDVALIDITY, CONDSTORE and IDLE.
· 6 min read
UIDVALIDITY resets, UIDNEXT, CONDSTORE and QRESYNC, IDLE, connection limits, special-use folders and Sent copies.
Why mailbox refresh tokens stop working.
· 6 min read
invalid_grant, AADSTS codes, Testing-mode expiry, outages versus revocation, and reconnecting an account without losing it.
Gmail API vs IMAP: authorization, sync, quotas and labels.
· 8 min read
Scopes and CASA, XOAUTH2 and app passwords, history and Pub/Sub against UIDs and IDLE, quota units against bandwidth, and when each fits.
Shared mailboxes in Microsoft 365 and Google Workspace.
· 6 min read
Shared mailboxes, Send As, Gmail delegation, send-as aliases, Google Groups and domain-wide delegation.
Email APIs for AI agents: how the options compare.
· 9 min read
Scoped credentials, draft versus send, MCP servers, change delivery and pricing across six email APIs and the native Gmail and Graph APIs.
Free/busy, working hours and the booking race.
· 6 min read
freeBusy.query, getSchedule, statuses, working hours, buffers, round-robin pools and the race between showing and booking a slot.
Sending email from your users’ mailboxes: limits, bounces, tracking and merges.
· 15 min read
Daily limits, authentication, the 5,000-a-day rules, bounces, suppression, validation, tracking, merges and retries.
Calendar time zones and DST: Google, Microsoft Graph and CalDAV.
· 6 min read
Windows versus IANA zone names, all-day and floating events, recurring events across DST, and times that do not exist or happen twice.
Exchange Web Services is being retired: moving to Microsoft Graph.
· 9 min read
The EWS timeline, the 403 you will see, EWSEnabled and the allow list, the EWS to Graph mapping, permissions, notifications and the remaining gaps.
Email and calendar webhooks you can trust.
· 7 min read
Signatures, duplicates, ordering, retries, replay and secret rotation for mail and calendar webhooks.
Sending mail as your users without breaking their mailbox.
· 6 min read
Sent copies, Message-IDs, In-Reply-To, References, Gmail threadId rules and drafts across SMTP, Gmail and Graph.
GCC High email API: what changes per Microsoft cloud.
· 6 min read
Separate sign-in and Graph hosts, an app registration per cloud, admin consent and the APIs that differ.
Moving off EmailEngine without asking users to sign in again.
· 6 min read
Why refresh tokens and the OAuth app decide re-consent, what moves, and what needs a reconnect.
Microsoft Graph change notifications for mail and calendar sync.
· 6 min read
Subscriptions, validation, lifecycle events and why delta queries, not notifications, are the record.
Gmail push notifications: watch, Pub/Sub and history replay.
· 6 min read
users.watch, Pub/Sub grants, history.list replay, 404 resyncs and why polling stays on.