# Email audit

> Email audit is an open-source agent skill for security. Audits a live domain's DMARC, SPF, DKIM, BIMI and MX records and prioritizes fixes. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/messagebird/bird-ai/tree/main/plugins/bird/skills/email-audit
- **Repository:** https://github.com/messagebird/bird-ai
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** email-audit
- **Collection:** https://github.com/messagebird/bird-ai
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This skill runs a DNS-only audit of a domain's live email authentication records through the bird CLI or its MCP tool. The audit resolves DMARC, SPF, DKIM, BIMI and MX records, validates each one, and checks how they work together, then returns graded findings and a list of recommended fixes. The agent is asked to read those findings, explain them in plain terms and turn them into a prioritized plan rather than returning raw output.

The guidance covers how to sequence the work. It points out that DMARC enforcement is only safe once SPF or DKIM produces an aligned pass, and it flags SPF's ten-lookup limit as a common cause of failures. DKIM cannot be discovered from DNS, so it is only checked when a selector is supplied, and the skill tells the agent to treat an unchecked DKIM as unknown rather than missing.

The skill expects the bird CLI with its email tools, or the equivalent MCP server, and a domain name as input. It sends no mail and does not inspect message headers; for those tasks it points to separate bird commands. Published records can take time to propagate after changes.

## When your agent uses it

> Use when auditing a live domain's email authentication or spam-delivery problems involving DMARC, SPF, DKIM, BIMI, or MX; single-record drafts use bird validators.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/messagebird/bird-ai/tree/HEAD/plugins/bird/skills/email-audit)
- [License: MIT](https://github.com/messagebird/bird-ai/tree/HEAD/plugins/bird/skills/email-audit)

## Features

- **Live DNS record audit:** Resolves DMARC, SPF, DKIM, BIMI and MX records for a domain and validates each one.
- **Cross-record alignment check:** Tests whether DMARC enforcement can produce aligned passes from SPF or DKIM.
- **SPF lookup limit detection:** Counts recursive SPF includes and mechanisms to catch the ten-lookup permerror.
- **Severity-ranked findings:** Sorts problems, warnings and passing checks so the most urgent issues come first.
- **Prioritized fix sequence:** Orders remediation steps, moving DMARC from monitoring toward enforcement.
- **DKIM selector handling:** Checks DKIM only when a selector is supplied and treats unknown selectors as unchecked.

## Good for

- Why is my email going to spam?
- Check whether my domain can be spoofed
- Audit SPF and DMARC for acme.com
- Plan how to move DMARC from p=none to reject
- Find out whether my SPF record is hitting the lookup limit
- Check my DKIM setup using a known selector

## Install

### Claude Code

This skill ships in the `bird` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add messagebird/bird-ai
/plugin install bird@bird-ai
```

Or copy only this skill to `~/.claude/skills/email-audit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/messagebird/bird-ai.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/email-audit &&
cp -R "$tmp/plugins/bird/skills/email-audit" ~/.claude/skills/email-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/email-audit` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/email-audit` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/messagebird/bird-ai.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/email-audit &&
cp -R "$tmp/plugins/bird/skills/email-audit" ~/.agents/skills/email-audit &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/email-audit` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/email-audit` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/messagebird/bird-ai.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/email-audit &&
cp -R "$tmp/plugins/bird/skills/email-audit" ~/.cursor/skills/email-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/email-audit` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/messagebird/bird-ai.git --path plugins/bird/skills/email-audit
```

Or copy the folder to `~/.gemini/skills/email-audit` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/email-audit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/messagebird/bird-ai.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/email-audit &&
cp -R "$tmp/plugins/bird/skills/email-audit" ~/.copilot/skills/email-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/email-audit` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/messagebird/bird-ai.git
```

Then copy `bird-ai/plugins/bird/skills/email-audit` into your agent's skills folder as `email-audit`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs the bird CLI with its email tools, or the email_tools_audit MCP tool, plus a domain name. The audit is DNS-only and needs no authentication.

### Does Email audit send email or read messages?

No. It sends no mail and inspects no message. It only reads the records the domain publishes.

### Why is DKIM sometimes reported as unknown?

DKIM selectors cannot be discovered from DNS, so DKIM is only checked when a selector is passed with --selector. An unchecked DKIM is not treated as missing.

### When should Email audit be used instead of the record validators?

Use the audit for a live domain's overall setup. Use validate-dmarc or validate-bimi for a single record string before it is published.

### How do I install Email audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/email-audit to use it in all your projects, or to .claude/skills/email-audit in one project. Or install the bird plugin, which includes it: /plugin marketplace add messagebird/bird-ai, then /plugin install bird@bird-ai.

### Does Email audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Email audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Email audit?

The closest alternatives to Email audit are Implementing dmarc dkim spf email security, What an email reveals, Who owns this domain, Techstack security and Find hidden subdomains.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Implementing dmarc dkim spf email security](https://ai-powered.com/skills/implementing-dmarc-dkim-spf-email-security): Implementing dmarc dkim spf email security is an open-source agent skill for communication.
- [What an email reveals](https://ai-powered.com/skills/what-an-email-reveals): What an email reveals is an open-source agent skill for security.
- [Who owns this domain](https://ai-powered.com/skills/who-owns-this-domain): Who owns this domain is an open-source agent skill for security.
- [Techstack security](https://ai-powered.com/skills/techstack-security): Techstack security is an open-source agent skill for security.
- [Find hidden subdomains](https://ai-powered.com/skills/find-hidden-subdomains): Find hidden subdomains is an open-source agent skill for security.
- [Recon a domain passively](https://ai-powered.com/skills/recon-a-domain-passively): Recon a domain passively is an open-source agent skill for security.
- [Reconnaissance](https://ai-powered.com/skills/reconnaissance): Reconnaissance is an open-source agent skill for security.
- [Supply chain audit](https://ai-powered.com/skills/supply-chain-audit-crafter-station): Supply chain audit is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/email-audit
