Skip to main content

After Hours

Passive Aggressive Email

Write workplace email that stays polite while the irritation shows through. Complete notes, follow-ups, reminders, complaints, corrections, deadline chases, meeting replies, and short phrases. The humour is the courtesy. Nothing is sent.

It runs entirely offline. No API keys, no model, and no network. Python 3.11+ and the standard library are enough. Names, topics, and deadlines you supply are copied through as literal text. The tool does not invent email addresses, and it does not invent a date you did not provide.

The PyPI name is lupaxa-passive-aggressive-email. The import path is lupaxa.passive_aggressive_email. The console script is passive-aggressive-email. lupaxa is a namespace package — there is no lupaxa/__init__.py.

What it Does

Each command fills sentence templates from a built-in vocabulary. The aggression level changes the wording, the implied criticism, and the sign-off. It does not simply make the email longer.

Level Name Behaviour
1 Genuinely Polite Courteous, with little or no irritation.
2 Subtly Irritated A careful reminder, and a hint that this is not the first time.
3 Professionally Annoyed Formal language with the frustration showing. This is the default.
4 Barely Concealed Fury Pointed remarks about delay, omission, and repeated explanation.
5 Nuclear Politeness Exaggerated courtesy. Still no insults, threats, or profanity.

Pass --seed when you want the same email again. The same seed, the same arguments, and the same vocabulary version produce the same text. --plausible keeps the point and drops the lines that would be hard to defend in a forwarding chain.

Install

pip install lupaxa-passive-aggressive-email

Commands

passive-aggressive-email generate --level 5
passive-aggressive-email followup --attempts 4
passive-aggressive-email reminder --topic "Timesheets"
passive-aggressive-email complaint --topic "Office kitchen"
passive-aggressive-email correction --topic "Incorrect figures"
passive-aggressive-email deadline --due "Last Friday"
passive-aggressive-email meeting --type unnecessary
passive-aggressive-email reply "They ignored my email"
passive-aggressive-email phrases --count 10
passive-aggressive-email translate "You clearly didn't read this"
passive-aggressive-email signoff --level 5
passive-aggressive-email escalation --level 4
passive-aggressive-email reply-all --level 5
passive-aggressive-email generate --plausible --level 5
Command What it Writes
generate A complete email. A workplace topic is chosen when you do not supply one.
followup A chase for an unanswered note. --attempts is how many you already sent.
reminder A reminder about a task or a fact already communicated.
complaint Constructive feedback that is clearly annoyed.
correction A polite correction. It does not invent the day the document went out.
deadline A chase for overdue work. --due and --deadline are the same date text.
meeting A reply to a meeting: question it, decline it, or chase the actions.
reply A reply to a short situation, as an argument or on stdin.
phrases Standalone lines, optionally from one category.
translate A direct sentence rewritten in workplace language. Unrecognised text is kept.
signoff Sign-offs for the chosen level.
escalation A line about copying a wider audience. Nothing is addressed or sent.
reply-all An awkwardly public correction or clarification.

Complaint --category values: communication, deadline, incomplete, mistakes, etiquette, meetings, responsiveness, general, random.

Meeting --type values: unnecessary, declined, reschedule, followup, attendance, summary, random.

Phrase --category values: reminder, disappointment, correction, followup, escalation, gratitude, disagreement, clarification, random.

Flag Meaning
--level Passive-aggression intensity, 1 to 5. Default 3.
--count How many results to generate, 1 to 100.
--seed Repeatable generation.
--recipient Recipient name. Omitted names use Hi there, or Hi team,.
--sender Name printed under the sign-off.
--topic What the email is about.
--deadline Deadline wording. deadline also accepts --due.
--attempts Previous follow-ups, 1 to 20.
--paragraphs Body paragraphs, 1 to 8. Default 3.
--plausible Keep the point, drop the obviously hostile lines.
--format text, json, or markdown.
--output Write the result to a file.
--force Overwrite an existing output file.
--verbose Diagnostics on stderr. Tracebacks only appear with this flag.
--quiet Hide warnings.
--config TOML configuration file.
--version Print passive-aggressive-email x.y.z and exit 0.

reply and translate classify common workplace wording with offline keyword rules. When a situation does not match, the reply still includes the text you supplied. Translation substitutes known phrases once. It does not keep rewriting its own output.

Examples

These are the exact texts those seeds print with the built-in vocabulary.

A Level 5 Email

passive-aggressive-email generate --level 5 --seed 5
Subject: The request that has now been repeated, still with you

Hi there,

The information has not changed since it was first sent. The subject is still the request that has now been repeated.

Is the expectation that I will keep asking?

Should I take the silence as the decision?

Thank you for your continued attention to this matter, whenever that may begin,

A Follow-up

passive-aggressive-email followup --attempts 3 --topic "Project update" --recipient James --sender Alex --seed 4
Subject: Following up once again

Hi James,

I am writing again about Project update, further to my previous three emails.

I appreciate that this may not have reached the top of your list, although it would help to know whether the original request has been reviewed.

I look forward to your response.

Thanks,

Alex

A Reminder

passive-aggressive-email reminder --topic "Timesheets" --deadline Friday --seed 8
Subject: A further reminder about Timesheets

Hi there,

As previously mentioned, a reminder about Timesheets.

This was due Friday, as previously noted.

Is there anything further you need from me?

I look forward to your reply,

A Complaint

passive-aggressive-email complaint --category etiquette --topic "Office kitchen" --level 4 --seed 2
Subject: Feedback on Office kitchen

Hi there,

I am writing about Office kitchen, which has now come up more than once.

Please treat Office kitchen as a shared-space matter rather than a personal exception.

Could we agree a way forward on Office kitchen?

Grateful for an update,

A Correction

passive-aggressive-email correction --topic "Incorrect figures" --level 5 --seed 3
Subject: Re: Incorrect figures, for clarity

Hi there,

I am more than happy to clarify Incorrect figures again, although the correct version was in the original note.

I am more than happy to explain it again, although it was explained the first time.

I trust this clarifies matters, including the part that was already written down.

Thanks,

A Deadline

passive-aggressive-email deadline --topic "Quarterly report" --due "Last Friday" --seed 6
Subject: Overdue: Quarterly report

Hi there,

For the avoidance of doubt, Quarterly report has passed the point we agreed.

Quarterly report was due Last Friday, and I have not yet seen it.

Could you let me know where Quarterly report now stands?

With thanks in advance,

A Meeting

passive-aggressive-email meeting --type unnecessary --seed 9
Subject: Meeting on the unanswered request

Hi there,

Thank you for arranging time on the unanswered request.

I am not sure we need a meeting if the note already covers it.

Could we settle the unanswered request by email instead?

Kind regards,

A Reply

passive-aggressive-email reply --level 5 --seed 1 "They asked a question I already answered"
Subject: Re: the project update, as previously discussed

Hi there,

I would have thought this was already understood. I am responding to this: They asked a question I already answered.

I am more than happy to explain it again, although it was explained the first time.

I remain available for the reply that is still outstanding.

Kind regards,

Phrases

passive-aggressive-email phrases --count 4 --category reminder --seed 2
The requirement has not changed.
Just a gentle reminder.
Circling back on the outstanding item.
A further reminder, as the first one is still open.

Translation

passive-aggressive-email translate "You didn't read my email"
As the relevant information was included in my original correspondence, I would encourage another review of the previous message.
passive-aggressive-email translate "Stop wasting my time" --level 5
I would appreciate a more considered approach to how we allocate our collective time moving forward, particularly where the answer has already been provided.

A sentence with no matching rule is printed unchanged. Translation does not use --seed.

Sign-offs

passive-aggressive-email signoff --level 5 --count 4 --seed 1
With thanks,
Thank you for your continued attention to this matter, whenever that may begin,
With every confidence that this will eventually be addressed,
In anticipation of a response,

Escalation

passive-aggressive-email escalation --level 4 --seed 7
I've copied in the relevant stakeholders to ensure everyone has the same information.

Reply All

passive-aggressive-email reply-all --level 5 --seed 12
Subject: Re: the work that was already due — for the wider group

Hi there,

I am copying everyone, because the private version of this note about the work that was already due did not land.

To be clear, in front of the team: The explanation has already been provided.

I would rather not have needed the extra audience for the work that was already due.

Thank you for your continued attention to this matter, whenever that may begin,

Plausible Deniability

The same seed as the level 5 email above, with the overt lines removed.

passive-aggressive-email generate --plausible --level 5 --seed 5
Subject: Another note on the correction that is still outstanding

Hi there,

After several unanswered notes, I am writing again about the correction that is still outstanding.

I am choosing to treat the delay as unintentional. The detail is in the earlier note.

Would it help if I restated what was already clear?

In anticipation of a response,

Output

--format text is the default and is safe to copy into a mail client. --format json is the only thing written to stdout for that run:

passive-aggressive-email generate --seed 11 --recipient James --topic "Missing report" --format json
{
  "level": 3,
  "plausible": false,
  "results": [
    {
      "situation": "general",
      "level": 3,
      "plausible": false,
      "subject": "Following up on Missing report",
      "greeting": "Hi James,",
      "paragraphs": [
        "To reiterate the original request, this note is about Missing report.",
        "As I'm sure you're aware, this was already sent.",
        "Has this had a chance to be reviewed?"
      ],
      "signoff": "Kind regards,",
      "text": "Subject: Following up on Missing report\n\nHi James,\n\nTo reiterate the original request, this note is about Missing report.\n\nAs I'm sure you're aware, this was already sent.\n\nHas this had a chance to be reviewed?\n\nKind regards,",
      "recipient": "James"
    }
  ],
  "mode": "generate",
  "vocabulary_version": "1",
  "seed": 11
}

The seed is included only when you passed --seed. Phrase commands return a list of strings. --format markdown uses a subject line, the greeting, the paragraphs, and the sign-off.

--output email.txt writes the file and leaves an existing file alone unless you also pass --force. Diagnostics and warnings go to stderr. Colour is used for text labels when stdout is a terminal. --no-colour, or NO_COLOR, turns it off.

Configuration

The tool works with no configuration file. An optional TOML file can set the defaults. Command-line options win.

level = 3
format = "text"
count = 1
paragraphs = 3
sender = "Alex"
greeting = "hi"
plausible = false
colour = true
vocabulary = ["extra-words.toml"]
templates = ["extra-patterns.toml"]

greeting is hi, hello, dear, or team. colour and color are the same setting. Do not set both.

Search order:

  1. --config
  2. PASSIVE_AGGRESSIVE_EMAIL_CONFIG
  3. ./passive-aggressive-email.toml
  4. $XDG_CONFIG_HOME/passive-aggressive-email/config.toml, or ~/.config/passive-aggressive-email/config.toml

A missing default file is ignored. A missing file passed with --config is an error. Extra vocabulary and templates are data only. Placeholders are {name} and optional [ ... ] clauses. Invalid entries are skipped with a warning. They are never executed.

Exit Codes

Result Exit
Success 0
Generation failed 1
Invalid arguments or config 2
Input or output file error 3
Vocabulary or template error 4

A closed output pipe is still success. --help exits 0.

Library

from lupaxa.passive_aggressive_email import followup, generate, translate

generate(level=5, count=2, seed=5)
followup(attempts=3, recipient="James", sender="Alex", topic="Project update", seed=4)
translate("You didn't read my email")

The same functions back the commands: generate, followup, reminder, complaint, correction, deadline, meeting, reply, phrases, translate, signoffs, escalations, and reply_all. Pass seed when a caller needs the same result twice.

Development

make init
make python-install-dev
make python-check
The Lupaxa Project Footer

Metadata

Release files for lupaxa-passive-aggressive-email 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lupaxa-passive-aggressive-email 0.1.0
File Size Uploaded Provenance Actions
lupaxa_passive_aggressive_email-0.1.0.tar.gz 30.2 kB With provenance Details for lupaxa_passive_aggressive_email-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lupaxa-passive-aggressive-email 0.1.0
File Interpreter ABI Platform Actions
lupaxa_passive_aggressive_email-0.1.0-py3-none-any.whl Python 3 none any Details for lupaxa_passive_aggressive_email-0.1.0-py3-none-any.whl

Total release size: 67.1 kB

Release files / lupaxa_passive_aggressive_email-0.1.0.tar.gz

Download URL lupaxa_passive_aggressive_email-0.1.0.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
50af79bf68a7c273fa2c48d84e9d4a2e432ea769a5b2cef7c73fa816edf4b4f0
BLAKE2b-256 checksum
How to use checksums
262fe3f24656224aa3526a2aa460ccc0d70dccfc5bcf2dcc95e563db5b35f5fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Release files / lupaxa_passive_aggressive_email-0.1.0-py3-none-any.whl

Download URL lupaxa_passive_aggressive_email-0.1.0-py3-none-any.whl
Size 36.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89d22ec28a83977f17ffcb8aea2dae697c7fe63b8f18f73045ae23c83dfaed4d
BLAKE2b-256 checksum
How to use checksums
53eb07b6ab3132cd6ba41cee387f5947b86f12a9d80810b2bfa5e4d433f5bb9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Security for lupaxa-passive-aggressive-email 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lupaxa_passive_aggressive_email-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page