Inbox Switchboard

v1.3.1
io.github.kowalcg/inbox-switchboard Checked 3 days ago Published 1 day ago

Connect 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.

ParameterTypeDescription
account *stringEmail address of the mailbox to connect.

remove_mailbox

Disconnect a mailbox: deletes its stored authorization from this computer.

ParameterTypeDescription
account *stringEmail 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.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
query *string
maxResultsinteger
pageTokenstring

get_message

Read one message: headers, body and attachment metadata.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
messageId *string
formatstring

get_thread

Read all messages in one conversation thread.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
threadId *string
formatstring

get_attachment

Fetch one attachment (base64url data) after finding its attachmentId in the message.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
attachmentId *string
messageId *string

list_labels

List the labels in a mailbox.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.

create_label

Create a label.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
name *string

draft_mail

Create an email draft without sending it.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
body *string
subject *string
to *stringRecipient(s), comma separated.
bccstring
ccstring
htmlbooleanSet 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.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
body *string
subject *string
to *stringRecipient(s), comma separated.
bccstring
ccstring
htmlbooleanSet true when body is HTML. Default is plain text.

reply_draft

Create a reply draft in an existing thread without sending it.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
body *string
messageId *string
htmlbooleanSet true when body is HTML. Default is plain text.
replyAllboolean

reply_mail

Reply in an existing thread and send it. Confirm the content with the user first.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
body *string
messageId *string
htmlbooleanSet true when body is HTML. Default is plain text.
replyAllboolean

forward_mail

Forward a message, with its attachments, to another recipient. Creates a draft unless sendNow is true; confirm with the user before sending.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
messageId *string
to *string
notestring
sendNowboolean

send_draft

Send an existing draft. Confirm with the user first.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
draftId *string

mark_read

Mark messages read or unread.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
messageIds *arrayGmail message IDs.
read *boolean

star_mail

Star or unstar messages.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
messageIds *arrayGmail message IDs.
starred *boolean

archive_mail

Archive messages (remove them from the inbox).

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
messageIds *arrayGmail message IDs.

apply_labels

Add or remove labels on messages. Use label IDs from list_labels.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
messageIds *arrayGmail message IDs.
addLabelIdsarray
removeLabelIdsarray

mark_spam

Mark messages as spam, or move them out of spam.

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
messageIds *arrayGmail message IDs.
spam *boolean

trash_mail

Move messages to Trash (recoverable for 30 days; this server cannot delete permanently).

ParameterTypeDescription
account *stringEmail address of the connected mailbox to act on.
messageIds *arrayGmail message IDs.