better email mcp for VS Code
io.github.n24q02m/better-email-mcp
IMAP/SMTP MCP server for Email with composite tools. Multi-account, auto-discovery.
client:VS Code
transport:stdio
runtime:npm
Install better email mcp in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "email-credentials",
"description": "EMAIL_CREDENTIALS",
"password": true
}
],
"servers": {
"better-email-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@n24q02m/better-email-mcp"
],
"env": {
"EMAIL_CREDENTIALS": "${input:email-credentials}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs