SignatoroSignatoro
  • Features
  • Pricing
  • About
  • AI assistantsHelp while you work, when you ask
    • ChatGPT
    • Claude
    • Grok
    • Gemini
    • Copilot
    • Shortwave
    • Fyxer
    AI agentsWork for you on their own
    • Grok Bot
    • OpenAI dots
    • OpenClaw
    • Hermes Agent
    • Manus
    • Cue
    • Meta Muse
    • Claude Duet
    • Poke
    Agentic toolsBuild agents and automations
    • Lindy
    • Notion agents
    • n8n, Zapier, Make
    • Coding agents
    • All AI agents
    Agentic infrastructureWhat agents run on and send through
    • MCP server
    • Signature API
    • Signature API docs
    • Microsoft Agent 365
    • AgentMail
    • Nylas
  • Help
    • FAQ Setup, pricing and deliverability
    • Blog Guides on email signatures and footers
    • Docs Set up your signature in any mail app
    Compare
    • Comparison hub Signatoro next to each per-seat tool
    • Best email signature software How to choose a signature tool
  • Contact
SignatoroSignatoro
One email signature for humans and AI agents. Signatoro is the agentic email signature platform: save your signature once, and your people and every AI agent you connect use the same one.

© Copyright 2026 Signatoro. All Rights Reserved.

  • About Signatoro
  • Automation experts
  • Blog
  • Contact

  • Features
  • Pricing
  • For companies
  • FAQ

  • AI agent signatures
  • ChatGPT
  • Claude
  • Claude Duet
  • Grok Bot
  • OpenClaw
  • MCP server
  • Signature API
  • Agent setup guides

  • Compliance hub
  • AI email disclosure
  • CAN-SPAM
  • GDPR
  • UK company

  • Free tools hub
  • Signature generator
  • Email signature to HTML
  • Signature disclaimer kit
  • Email signature templates

  • All guides
  • Make an email signature
  • Add a signature in Gmail
  • Add a signature in Outlook
  • Add a signature in Apple Mail
  • Add a signature on iPhone

  • Best email signature software
  • All alternatives
  • Signatoro vs Exclaimer
  • Signatoro vs WiseStamp
  • Signatoro vs Newoldstamp
  • Signatoro vs CodeTwo
  • Signatoro vs Opensense
  • Signatoro vs MySignature
  • Signatoro vs Letsignit
  • Signatoro vs Canva
  • Signatoro vs HubSpot generator

  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Cookie settings
About
  • About Signatoro
  • Automation experts
  • Blog
  • Contact
Product
  • Features
  • Pricing
  • For companies
  • FAQ
AI agents
  • AI agent signatures
  • ChatGPT
  • Claude
  • Claude Duet
  • Grok Bot
  • OpenClaw
  • MCP server
  • Signature API
  • Agent setup guides
Compliance
  • Compliance hub
  • AI email disclosure
  • CAN-SPAM
  • GDPR
  • UK company
Free tools
  • Free tools hub
  • Signature generator
  • Email signature to HTML
  • Signature disclaimer kit
  • Email signature templates
How to
  • All guides
  • Make an email signature
  • Add a signature in Gmail
  • Add a signature in Outlook
  • Add a signature in Apple Mail
  • Add a signature on iPhone
Compare
  • Best email signature software
  • All alternatives
  • Signatoro vs Exclaimer
  • Signatoro vs WiseStamp
  • Signatoro vs Newoldstamp
  • Signatoro vs CodeTwo
  • Signatoro vs Opensense
  • Signatoro vs MySignature
  • Signatoro vs Letsignit
  • Signatoro vs Canva
  • Signatoro vs HubSpot generator
Legal
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Cookie settings
  • In Claude's connector directory
  • In ChatGPT's plugin directory
  • On the Zoho Marketplace
  • Features
  • Pricing
  • About
  • Contact
    1. Home
    2. Blog
    3. How to add your email signature to email a script or local agent sends

    How to add your email signature to email a script or local agent sends

    An agent or script on your own computer sends email without your signature. One command, npx signatoro get, prints your saved signature for Claude Code, Codex, OpenClaw or a cron job to append. Setup, the rule to paste, and what each exit code means.

    By Signatoro Team·Published November 8, 2026·Last updated November 8, 2026·6 min read

    On this page

    1. What the command does
    2. Set it up
    3. Tell the agent to use it
    4. Let the sending code carry the signature
    5. Each exit code tells the agent what to do
    6. One agent, its own signature
    7. When to use the MCP server instead
    8. Questions
    9. Sources

    Run npx signatoro get before the email goes out, and append what it prints after the body. The command prints the signature you saved on Signatoro, the agentic email signature platform, so a script, a cron job or an agent with a shell, such as Claude Code, Codex or OpenClaw, signs its email the way you do. You need a Signatoro API key and Node.js 18 or later.

    Gmail and Outlook add your signature in their own compose windows. Email sent from code, through the Gmail API, an email API or SMTP, ends where the code's text ends. The post on why emails your AI agent sends have no signature covers that gap for each AI tool.

    What the command does

    The signatoro package went on npm on October 15, 2026 (version 0.1.0, MIT license, no dependencies). It calls Signatoro's API with your key and prints the result:

    CommandPrints
    signatoro getthe signature as plain text
    signatoro get --htmlthe signature as HTML, for an HTML body
    signatoro get --jsonthe full API response, with sender
    signatoro get --shortname, role line and one link
    signatoro get --signature Adathe signature of your AI assistant named Ada

    The signature goes to standard output and every message goes to standard error, so signatoro get --html > sig.html writes a file holding the signature and nothing else.

    --json adds sender: your name, title, company, phone, email, links and address as separate fields. An agent that writes "call me on..." in the body takes the saved number from there.

    Set it up

    1. Save your signature. Make it in Signatoro's generator and sign up, or open your signature page if you have one.

    2. Make an API key. On the Connect page, under "For tools and assistants", click "Generate API key". Copy it; it is shown once.

    3. Give the key to the command. Either run signatoro login, which asks for the key with the typing hidden and saves it to ~/.config/signatoro/config.json, readable only by you, or set it in the environment:

      export SIGNATORO_API_KEY=sig_live_...
      

      The environment variable wins when both are set. signatoro login checks the key with one request.

    4. Test it. Run npx signatoro get. Your signature prints. To skip the download on every run, install it once with npm install -g signatoro.

    Keep the key in the environment the agent runs in, never in a prompt or a chat message. The command never prints a key; its messages show it masked.

    Tell the agent to use it

    An agent adds the signature when its instructions say so. Paste a rule into the file the agent reads at the start of every session:

    • Claude Code reads CLAUDE.md: ~/.claude/CLAUDE.md for every project, ./CLAUDE.md for one. It can also read a repository's AGENTS.md.
    • Codex reads AGENTS.md in ~/.codex, then in each folder from the project root down to where it runs.
    • OpenClaw loads AGENTS.md from its workspace at the start of every session. Set SIGNATORO_API_KEY in the environment the gateway runs in.

    The rule, from the package's own instructions:

    ## Email signature
    
    Before you send, reply to, forward or draft any email, run
    `signatoro get --html` and append its output after the body, after a
    blank line, as printed. For a plain-text email, use `signatoro get`
    instead.
    
    - Run it for every email; do not cache it.
    - Do not write your own sign-off or signature block.
    - For my name, title, phone, email or links in the body, use only the
      values in `signatoro get --json`'s `sender`. If one is missing, leave
      it out and tell me - never guess.
    - Exit code 2: stop and tell me. Exit code 3, 4 or 5: send without a
      signature and tell me.
    - Never print SIGNATORO_API_KEY.
    

    "Do not cache it" is what keeps the signature current: you change your title on Signatoro, and the next email carries the new one.

    Let the sending code carry the signature

    The safest setup has the sending code read the signature itself. A script that writes signatoro get --html > sig.html and attaches that file to the message body never passes the signature through the agent's own text. That matters: on October 18, 2026, an agent fetched the right signature, retyped it into its Gmail tool call, and nine emails went out with "[REDACTED]" where the email address belonged. The post on the redacted signature has the details. Read one sent email back before you trust a new setup.

    For the sending step itself, the guides cover the Gmail API and email APIs such as Resend and Postmark.

    Each exit code tells the agent what to do

    The command exits with a code the agent can act on:

    CodeMeaningWhat the agent does
    0WorkedAppend the output and send
    1Wrong command, or --signature named no signature this key hasFix the command; the message lists the names
    2No key, or the key is wrong, replaced or revokedStop and tell you
    3The free month's requests are used up, or too many at onceSend without a signature and tell you
    4Network or server errorRetry, or send without one and tell you
    5No signature saved yetSend without one; never invent one

    Code 2 after you made a new key is expected: each account has one live API key, and making a new one retires the old one. The Connect page warns before it does.

    One agent, its own signature

    When an agent should sign as itself, with its own name and a line saying it is an AI working for you, add it as an AI assistant on the Connect page and click "Generate key for" its name. That key always returns the assistant's signature, so each agent gets its own key in its own environment and runs the same signatoro get. With your own key, --signature <name> picks one of your assistants. The post on a signature for each AI agent covers when to sign as yourself and when as the agent.

    When to use the MCP server instead

    Use the command when the agent or script has a shell on your machine and no MCP client, or when you want the signature in a file that code reads. Use Signatoro's MCP server when the agent already connects to MCP servers: the page on email signatures for coding agents has the setup for Claude Code, Cursor, Codex and the rest. Both return the same saved signature, and both are on the Free plan.

    Questions

    Does it cost anything?

    The command is free. Free accounts get a set number of signature requests a month, and each signatoro get counts as one. Company plans have no monthly cap. The pricing page has the numbers.

    Can it list my signatures?

    The command has no list. Run signatoro get --signature with any name: when nothing matches, it prints the names that do. Your AI assistants are also listed on the Connect page.

    Does it work on Windows?

    Yes, with Node.js 18 or later. signatoro login saves the key to %APPDATA%\signatoro\config.json.

    Will Gmail add my signature on top?

    No. An email sent through the Gmail API goes out as the code built it, so the signature from signatoro get is the only one.

    Can I run it on a server?

    Yes. Set SIGNATORO_API_KEY on the server and call the command, or call the API directly; the API guide has the request.

    Sources

    Read on November 2, 2026:

    • signatoro on npm (version and publish date from the npm registry)
    • How Claude remembers your project (Claude Code docs)
    • AGENTS.md (Codex docs)
    • Agent workspace (OpenClaw docs)

    Build your own signature

    Free, no account needed. Build a signature or footer and copy it into your mail app.

    Try the free generator

    Build your own signature

    Free, no account needed. Build a signature or footer and copy it into your mail app.

    Try the free generator

    Related posts

    • The 7 Best Email Services for AI Agents
    • The 7 Best AI SEO Agencies for B2B SaaS
    • Zapier still using your old Gmail signature? Why it's cached and how to fix it