Inbox Switchboard
v1.3.1Connect every Gmail inbox to your AI through one local MCP server: search, read, draft and send.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_mailboxes
List the Gmail mailboxes connected to this server. Call this first.
authorize_mailbox
Connect a new Gmail mailbox (or reconnect one whose access expired). Returns a Google sign-in link for the user to open.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the mailbox to connect. |
remove_mailbox
Disconnect a mailbox: deletes its stored authorization from this computer.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
search_mail
Search one mailbox with Gmail search syntax (e.g. "from:amy newer_than:7d"), including archived mail. Returns message IDs and a next-page token when more results exist.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
query * | string | |
maxResults | integer | |
pageToken | string |
get_message
Read one message: headers, body and attachment metadata.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
messageId * | string | |
format | string |
get_thread
Read all messages in one conversation thread.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
threadId * | string | |
format | string |
get_attachment
Fetch one attachment (base64url data) after finding its attachmentId in the message.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
attachmentId * | string | |
messageId * | string |
list_labels
List the labels in a mailbox.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
create_label
Create a label.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
name * | string |
draft_mail
Create an email draft without sending it.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
body * | string | |
subject * | string | |
to * | string | Recipient(s), comma separated. |
bcc | string | |
cc | string | |
html | boolean | Set true when body is HTML. Default is plain text. |
send_mail
Send an email from a connected mailbox. Confirm recipients and content with the user first.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
body * | string | |
subject * | string | |
to * | string | Recipient(s), comma separated. |
bcc | string | |
cc | string | |
html | boolean | Set true when body is HTML. Default is plain text. |
reply_draft
Create a reply draft in an existing thread without sending it.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
body * | string | |
messageId * | string | |
html | boolean | Set true when body is HTML. Default is plain text. |
replyAll | boolean |
reply_mail
Reply in an existing thread and send it. Confirm the content with the user first.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
body * | string | |
messageId * | string | |
html | boolean | Set true when body is HTML. Default is plain text. |
replyAll | boolean |
forward_mail
Forward a message, with its attachments, to another recipient. Creates a draft unless sendNow is true; confirm with the user before sending.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
messageId * | string | |
to * | string | |
note | string | |
sendNow | boolean |
send_draft
Send an existing draft. Confirm with the user first.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
draftId * | string |
mark_read
Mark messages read or unread.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
messageIds * | array | Gmail message IDs. |
read * | boolean |
star_mail
Star or unstar messages.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
messageIds * | array | Gmail message IDs. |
starred * | boolean |
archive_mail
Archive messages (remove them from the inbox).
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
messageIds * | array | Gmail message IDs. |
apply_labels
Add or remove labels on messages. Use label IDs from list_labels.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
messageIds * | array | Gmail message IDs. |
addLabelIds | array | |
removeLabelIds | array |
mark_spam
Mark messages as spam, or move them out of spam.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
messageIds * | array | Gmail message IDs. |
spam * | boolean |
trash_mail
Move messages to Trash (recoverable for 30 days; this server cannot delete permanently).
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address of the connected mailbox to act on. |
messageIds * | array | Gmail message IDs. |