---
title: "Workwae: one API for every inbox, calendar and contact book"
description: "One API for your users' Gmail, Microsoft 365 and IMAP accounts: synced mail, sending, calendars and bookings, contacts, Zoom and Webex meetings, and webhooks."
url: https://workwae.com/
---

# One API for every inbox, calendar and contact book.

Connect your customers' Gmail, Microsoft 365 and IMAP accounts. Workwae keeps them in sync, sends from them and calls your webhook on every change.

[Request early access](https://workwae.com/early-access/) [Read the docs](https://docs.workwae.com/)

One hosted link for Google, Microsoft and IMAP. Your webhook hears when the account is ready.

connect.tsconnect.py

```ts
// One link: Google, Microsoft or any IMAP mailbox
const session = await workwae.connectSessions.create({
  redirectUri: "https://app.example.com/mail/connected", // allowlisted first, under Settings
  providers: ["google", "microsoft", "imap"],
  externalRef: user.id,
  options: { calendarEnabled: true, contactsEnabled: true },
});

return redirect(session.url);
```

```python
# One link: Google, Microsoft or any IMAP mailbox
session = workwae.connect_sessions.create(
    redirect_uri="https://app.example.com/mail/connected",  # allowlisted first, under Settings
    providers=["google", "microsoft", "imap"],
    external_ref=user.id,
    options={"calendar_enabled": True, "contacts_enabled": True},
)

return redirect(session.url)
```

account.connected

```jsonc
{
  "id": "1849203",
  "type": "account.connected",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "email": "ada@example.com",
    "provider": "gmail",
    "cloud": null,
    "externalRef": "user_42",
    "reauthorized": false
  }
}
```

Sent from the user's own mailbox, queued and retried. Sent, opened, clicked and bounced come back with your reference.

send.tssend.py

```ts
const send = await workwae.outbox.create({
  accountId,
  to: [{ name: "Grace Hopper", address: "grace@example.org" }],
  subject: "Invoice 1001",
  text: "Hi Grace, your invoice is ready.",
  html: "<p>Hi Grace, your invoice is ready.</p>", // tracking rewrites the HTML part
  reference: "invoice-1001",
  tracking: { opens: true, clicks: true },
});
```

```python
send = workwae.outbox.create(
    account_id=account_id,
    to=[{"name": "Grace Hopper", "address": "grace@example.org"}],
    subject="Invoice 1001",
    text="Hi Grace, your invoice is ready.",
    html="<p>Hi Grace, your invoice is ready.</p>",  # tracking rewrites the HTML part
    reference="invoice-1001",
    tracking={"opens": True, "clicks": True},
)
```

send.sent

```jsonc
{
  "id": "1849377",
  "type": "send.sent",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:01.000Z",
  "data": {
    "outboxId": "7b9d1f3a-5c7e-4a9b-8d1f-3a5c7e9b1d3f",
    "reference": "invoice-1001",
    "attempt": 1,
    "providerMessageId": "18f2a3b4c5d6e7f9",
    "internetMessageId": "<20260504093000.1a2b3c@example.com>",
    "sentAt": "2026-05-04T09:30:00.000Z"
  }
}
```

Provider push turned into signed webhooks. Check the signature, then deduplicate on the event id.

webhook.tswebhook.py

```ts
import { parseWebhook } from "@workwae/sdk";

export async function POST(request: Request) {
  const body = await request.text();
  // Checks the signature and the timestamp
  const event = await parseWebhook(secret, request.headers, body);

  if (await alreadyHandled(event.id)) return new Response(null, { status: 204 });
  if (event.known && event.type === "message.created") {
    await queue.add(event.id, event.data.message.subject);
  }
  return new Response(null, { status: 204 });
}
```

```python
from workwae import UnknownEvent, parse_webhook

def receive(request):
    body = request.get_data()
    # Checks the signature and the timestamp
    event = parse_webhook(secret, request.headers, body)

    if already_handled(event.id):
        return "", 204
    if not isinstance(event, UnknownEvent) and event.type == "message.created":
        queue.add(event.id, event.data.message.subject)
    return "", 204
```

message.created

```jsonc
{
  "id": "1849412",
  "type": "message.created",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "message": {
      "subject": "Quarterly report",
      "from": { "name": "Grace Hopper", "address": "grace@example.org" },
      "snippet": "Hi Ada, the numbers for the quarter are attached.",
      "direction": "inbound"
      // id, threadId, to, flags and more
    },
    "mailboxes": [{ "id": "8a3f5c7e-2d4b-4c6e-9f1a-3b5d7f9e1c2a", "name": "INBOX", "role": "inbox" }]
  }
}
```

Offer open slots across your users' calendars, then book one. A slot booked in the meantime answers 409 slot_taken.

book.tsbook.py

```ts
// Open slots from a scheduling link, then book the one the invitee picks
const { items: slots } = await workwae.schedulingLinks.slots({
  linkId,
  from: new Date("2026-11-02T00:00:00Z"),
  to: new Date("2026-11-09T00:00:00Z"),
});

const booking = await workwae.bookings.create({
  linkId,
  start: slots[0].start,
  invitee: { name: "Ada Lovelace", address: "ada@example.com" },
});
```

```python
from datetime import datetime, timezone

# Open slots from a scheduling link, then book the one the invitee picks
slots = workwae.scheduling_links.slots(
    link_id=link_id,
    from_=datetime(2026, 11, 2, tzinfo=timezone.utc),
    to=datetime(2026, 11, 9, tzinfo=timezone.utc),
).items

booking = workwae.bookings.create(
    link_id=link_id,
    start=slots[0].start,
    invitee={"name": "Ada Lovelace", "address": "ada@example.com"},
)
```

booking.created

```jsonc
{
  "id": "1850021",
  "type": "booking.created",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-10-19T16:42:07.000Z",
  "data": {
    "bookingId": "4c6e8a0b-2d4f-4a6c-8e0b-1d3f5a7c9e1b",
    "linkId": "b0d2f4a6-8c0e-4a2c-9e1b-3d5f7a9c1e3b",
    "eventId": "e1f3a5c7-9b2d-4f6e-a8c0-2e4f6a8b0d1c",
    "start": "2026-11-02T14:00:00.000Z",
    "end": "2026-11-02T14:30:00.000Z",
    "invitee": "ada@example.com"
  }
}
```

Once a user links Zoom or Webex, any event can carry a meeting that moves and cancels with it.

meeting.tsmeeting.py

```ts
const event = await workwae.calendarEvents.create({
  accountId,
  calendarId,
  subject: "Intro call",
  start: { dateTime: "2026-11-04T15:00:00", timeZone: "UTC" },
  end: { dateTime: "2026-11-04T15:30:00", timeZone: "UTC" },
  attendees: [{ address: "sam@example.com" }],
  onlineMeetingService: "zoom",
});

event.onlineMeetingUrl; // the Zoom join link
```

```python
from datetime import datetime

event = workwae.calendar_events.create(
    account_id=account_id,
    calendar_id=calendar_id,
    subject="Intro call",
    start={"date_time": datetime(2026, 11, 4, 15, 0), "time_zone": "UTC"},
    end={"date_time": datetime(2026, 11, 4, 15, 30), "time_zone": "UTC"},
    attendees=[{"address": "sam@example.com"}],
    online_meeting_service="zoom",
)

event.online_meeting_url  # the Zoom join link
```

response

```jsonc
{
  "id": "e1f3a5c7-9b2d-4f6e-a8c0-2e4f6a8b0d1c",
  "subject": "Intro call",
  "onlineMeetingUrl": "https://example.zoom.us/j/84012345678"
  // start, end, attendees, organizer and more
}
```

Sign-in and every call go to the tenant's own Microsoft cloud, next to worldwide tenants.

gcc-high.tsgcc-high.py

```ts
// Your own UI, the tenant's own Microsoft cloud
const { authorizeUrl } = await workwae.oauthAuthorizations.create({
  provider: "microsoft",
  oauthAppId: gccHighApp.id, // your app registration for GCC High
  redirectUri: "https://app.example.com/mail/connected",
});

return redirect(authorizeUrl);
```

```python
# Your own UI, the tenant's own Microsoft cloud
authorization = workwae.oauth_authorizations.create(
    provider="microsoft",
    oauth_app_id=gcc_high_app.id,  # your app registration for GCC High
    redirect_uri="https://app.example.com/mail/connected",
)

return redirect(authorization.authorize_url)
```

account.connected

```jsonc
{
  "id": "1849530",
  "type": "account.connected",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "email": "ada@agency.example",
    "provider": "graph",
    "cloud": "gcc-high",
    "externalRef": "user_42",
    "reauthorized": false
  }
}
```

**Connects**

- Gmail
- Google Workspace
- Microsoft 365
- Outlook.com
- IMAP and SMTP
- CalDAV
- CardDAV

**Meetings**

- Zoom
- Webex
- Microsoft Teams
- Google Meet

**Build with**

- [TypeScript SDK](https://www.npmjs.com/package/@workwae/sdk)
- [Python SDK](https://pypi.org/project/workwae/)
- [REST API (OpenAPI)](https://api.workwae.com/v1/openapi.json)
- [Signed webhooks](https://workwae.com/features/webhooks)
- [Change feed](https://workwae.com/features/webhooks)
- [Quickstart](https://workwae.com/quickstart)

Features

## Everything a mailbox can do, behind one API.

### [Mail](https://workwae.com/features/mail)

Read, search, label and send from Gmail, Microsoft 365 and any IMAP server.

### [Calendar and bookings](https://workwae.com/features/calendar)

Events, RSVPs and free/busy written back to the provider, and scheduling links that book an open slot.

### [Webhooks and change feed](https://workwae.com/features/webhooks)

Signed deliveries with retries and replay, and an ordered feed you read with a cursor.

### [Connect flows](https://workwae.com/features/connect)

A hosted connect page or your own UI, for any provider and Microsoft cloud.

### [Organization connections](https://workwae.com/features/organizations)

Domain-wide delegation and app-only access, approved once by an administrator.

### [MCP server](https://workwae.com/mcp)

Give an AI agent mail, calendar and contact tools with scopes and a send policy that defaults to confirm.

[All features](https://workwae.com/features/)

How it works

## From a connect link to a signed webhook.

One diagram for the whole path: the user connects, Workwae syncs, you hear about every change.

[Read the walkthrough](https://workwae.com/how-it-works)

- Request or sync
- Result: redirect or event

Comparison

## Measured against the alternatives.

From each vendor's own public pages, checked October 17, 2026. The full comparison has every row, sources, and where others are ahead.

[Full comparison](https://workwae.com/compare)

Workwae, Nylas, Unipile and Aurinko compared

| Feature | Workwae | Nylas | Unipile | Aurinko |
| --- | --- | --- | --- | --- |
| Microsoft 365 GCC High and DoD | Yes | No [N2](https://workwae.com/compare#src-n2) | Not documented | Not documented |
| Zoom and Webex meetings created with events | Yes | Partly [N7](https://workwae.com/compare#src-n7) | No [U6](https://workwae.com/compare#src-u6) | Not documented |
| Import from EmailEngine without re-consent | Yes | Partly [N10](https://workwae.com/compare#src-n10) | Not documented | Not documented |
| Data hosting | United States | US or Europe [N13](https://workwae.com/compare#src-n13) | France [U12](https://workwae.com/compare#src-u12) | Not documented |
| SOC 2 report | No Planned; the audit has not started. [Details](https://workwae.com/security#compliance) | Yes [N14](https://workwae.com/compare#src-n14) | Yes [U12](https://workwae.com/compare#src-u12) | No [A15](https://workwae.com/compare#src-a15) |

[Sources for every competitor cell, read October 17, 2026](https://workwae.com/compare#sources-title)

Security and privacy

## Built for data people trust you with.

Connecting an account is the account owner's decision, and they can take it back at any time.

[How we handle data](https://workwae.com/security)

### Only what you approve

Gmail access is `gmail.modify`, not full mail access, and data is used only to provide your features.

### Encrypted value by value

AES-256-GCM per record, with data keys wrapped by a key in HashiCorp Vault. [Details](https://workwae.com/security#encryption).

### No ads, sales or AI training

Your users' mail is never sold, used for advertising or used to train AI models.

### Disconnect anytime

Deleting an account stops access at once and queues its Google grant for revocation; its data is deleted within 30 days, or at once on request.

Use cases

## Built for products that live in the inbox.

### [CRM and sales](https://workwae.com/use-cases/crm)

Every rep's email, logged to the deal.

### [Recruiting](https://workwae.com/use-cases/recruiting)

Candidate threads and interview scheduling.

### [Scheduling](https://workwae.com/use-cases/scheduling)

Availability, events and meeting links.

### [Support desks](https://workwae.com/use-cases/support)

Shared inboxes and new-mail webhooks.

### [AI email agents](https://workwae.com/use-cases/ai-agents)

Read, reason and draft replies.

### [Government](https://workwae.com/use-cases/government)

GCC High and DoD mailboxes, next to your commercial customers.

[Switching from EmailEngine or another API? Migration paths](https://workwae.com/migrate/)

## Tell us what you’re building.

We are onboarding a small number of teams and reply within two business days.

[Request early access](https://workwae.com/early-access/) [Talk to us](https://workwae.com/support)
