Skip to content
Back to skills

Gw Postmaster

ASecurity

Read Gmail Postmaster Tools via CLI — the domains you registered, and per day the spam rate, DKIM / SPF / DMARC pass rates, delivery errors and Google's domain reputation. TRIGGERS: "postmaster", "postmaster tools", "spam rate", "domain reputation", "sender reputation", "deliverability", "are we going to spam", "DKIM pass rate", "DMARC pass rate", "delivery errors", "Gmail bulk sender", "email reputation"

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
developmentpythongobashapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add Elnora-AI/elnora-google-workspace --skill gw-postmaster --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gw Postmaster?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gw Postmaster
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/elnora-ai-gw-postmaster/badge)](https://www.skillsdirectory.com/skills/elnora-ai-gw-postmaster)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gw-postmaster
description: >
  Read Gmail Postmaster Tools via CLI — the domains you registered, and per day the spam rate,
  DKIM / SPF / DMARC pass rates, delivery errors and Google's domain reputation.
  TRIGGERS: "postmaster", "postmaster tools", "spam rate", "domain reputation", "sender
  reputation", "deliverability", "are we going to spam", "DKIM pass rate", "DMARC pass rate",
  "delivery errors", "Gmail bulk sender", "email reputation"
---

# Gmail Postmaster Tools

Read-only by construction: nothing here creates, verifies or deletes a domain or touches its
users, and a test asserts it stays that way.

## Invocation

```bash
CLI="python3 ${CLAUDE_PLUGIN_ROOT}/cli/gw.py"
```

## Scope prerequisite

Postmaster is an opt-in scope, so a default `gw` token does not carry it. Add it once:

```bash
$CLI auth login --add-scopes postmaster
```

It grants two read-only scopes, one per API version: `postmaster.traffic.readonly` (v2: the
daily stats) and `postmaster.readonly` (v1: the domain list and the domain reputation). An
account authorized before both were in the opt-in gets the stats with a note that the
reputation needs the login again. The domain is registered and verified in the Postmaster
Tools UI; the API reads only domains the account was given there.

## Commands

```bash
$CLI postmaster domains --compact

$CLI postmaster stats --domain example.com \
  [--since 30daysAgo] [--until yesterday] \
  [--metrics spam_rate,dkim,spf,dmarc,delivery_error_rate]
```

`--metrics` also takes `tls_outbound` and `delivery_errors` (a count). Rates are fractions:
`0.003` is 0.3%. `--until` is inclusive.

## Read the empty days right

Google reports a day only when enough mail reached Gmail users that day. A day missing from
`rows` is a day under that threshold, never a day without problems, and `days_reported` says
how many came back. Mail to company mailboxes (Microsoft 365, Google Workspace, security
gateways) is not counted at all, so a B2B sender can send thousands of emails and see no row.
Postmaster measures the Gmail-consumer side; placement at company mailboxes needs seed-inbox
tests.

## Response shape (validated)

```json
{"domain":"example.com","window":{"since":"2026-09-01","until":"2026-09-30"},
 "metrics":["spam_rate","dkim","spf","dmarc","delivery_error_rate"],
 "rows":[{"date":"2026-09-16","spam_rate":0.0,"dkim":1.0,"spf":0.0,"dmarc":1.0,
          "delivery_error_rate":0.0,"reputation":"HIGH"}],
 "days_reported":1,"notes":["Postmaster reports a day only when ..."]}
```

`domains`: `{"domains":[{"domain","permission","created"}],"count"}`

## Anything not covered here

The v2 compliance status (bulk-sender requirements) is one `gw-api` call with the same scope:

```bash
$CLI api call gmailpostmastertools:v2 domains.getComplianceStatus \
  --params '{"name":"domains/example.com/complianceStatus"}' --compact
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.