Blog

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.

Tags: IMAP, Sync and push

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.

Tags: OAuth, Gmail, Microsoft Graph

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.

Tags: Gmail, Sync and push, OAuth

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.

Tags: Microsoft Graph, Gmail, OAuth

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.

Tags: Sending, Webhooks

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.

Tags: Calendar, Microsoft Graph

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.

Tags: Sending, Gmail, Microsoft Graph

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.

Tags: Calendar, Microsoft Graph

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.

Tags: Microsoft Graph, Migration

Email and calendar webhooks you can trust.

· 7 min read

Signatures, duplicates, ordering, retries, replay and secret rotation for mail and calendar webhooks.

Tags: Webhooks, Sync and push

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.

Tags: Sending, Gmail, Microsoft 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.

Tags: Government clouds, Microsoft Graph, OAuth

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.

Tags: Migration, OAuth

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.

Tags: Microsoft Graph, Sync and push, Webhooks

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.

Tags: Gmail, Sync and push