# mailboxes.connect.link

Get the link where the signed-in member connects their own Gmail or Outlook inbox in Oatmilk, with optional provider and dailyChecks. Nothing is connected and no sign-in starts: connecting asks the inbox owner to agree in the provider's own window, so only they can do it. Give the person the url; connected inboxes then appear in mailboxes.list.

`GET | POST /api/v1/accounting/mailboxes.connect.link`

Permissions: `accounting:read` · Roles: admin, finance, contributor

MCP tool: `accounting_mailboxes_connect_link`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `provider` | enum |  | One of: `gmail`, `outlook`. |
| `dailyChecks` | boolean |  |  |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/mailboxes.connect.link \
  -H "Authorization: Bearer $OATMILK_API_KEY"
```

Reference page: https://app.getoatmilk.com/docs/api/mailboxes.connect.link
