systemprompt-mcp-gmail
Version:
A specialized Model Context Protocol (MCP) server that enables you to search, read, delete and send emails from your Gmail account, leveraging an AI Agent to help with each operation.
57 lines (56 loc) • 1.14 kB
TypeScript
export interface ListEmailsArgs {
maxResults?: number;
after?: string;
before?: string;
sender?: string;
to?: string;
subject?: string;
hasAttachment?: boolean;
label?: string;
}
export interface GetEmailArgs {
messageId: string;
}
export interface GetDraftArgs {
draftId: string;
}
export interface SearchEmailsArgs {
query: string;
maxResults?: number;
after?: string;
before?: string;
}
export interface SendEmailAIArgs {
to: string;
userInstructions: string;
replyTo?: string;
}
export interface SendEmailManualArgs {
to: string;
subject?: string;
body: string;
cc?: string;
bcc?: string;
isHtml?: boolean;
replyTo?: string;
}
export interface CreateDraftAIArgs {
to: string;
userInstructions: string;
replyTo?: string;
}
export interface EditDraftAIArgs {
draftId: string;
userInstructions: string;
}
export interface ListDraftsArgs {
maxResults?: number;
}
export interface DeleteDraftArgs {
draftId: string;
}
export interface TrashMessageArgs {
messageId: string;
}
export interface ListLabelsArgs {
}