Gmail MCP Server - Barndoor Documentation

Google Mail

SecureBarndoor Managed Communication & Collaboration

Summary: Google Mail (Gmail) is a widely used email platform that helps teams communicate, coordinate, and stay organized with powerful search, filtering, and message management features built for productivity.

How Teams Use It: With the Barndoor-Managed Google Mail MCP Server, teams can safely connect AI agents to Gmail to draft emails, search inboxes, manage labels, and automate routine message tasks — all while respecting user permissions and without exposing mailboxes or credentials.

Tools 17

Policies 1

Policy Title

Policy Description

Policy Definition

Block non corporate emails

Disallows emails to non corporate email domains

{
  "name": "block-consumer-emails",
  "authorized": false,
  "actions": [
    "tools/call:send_email"
  ],
  "roles_groups": [
    "*"
  ],
  "condition": {
    "match": {
      "all": {
        "of": [
          {
            "expr": "request.resource.attr.to.matches(".*@(gmail|yahoo|hotmail|outlook|aol|icloud|protonmail|msn|live|me)\\.com$")"
          }
        ]
      }
    }
  }
}