// free agents / unanswered-email-nudger
⏰ Unanswered email nudger
“Every weekday morning, show me the emails I sent that still have no reply after 3 days.”
Free, no sign-up. MIT licence. Python standard library only, so there's nothing to pip install.
What it does
Reads your Sent folder and inbox over IMAP (read-only, headers only) and lists every email you sent 3+ days ago where nobody has replied in the thread yet: quotes, invoices, bookings, intros. It prints the list or emails it to you. It never sends anything to the people you wrote to.
What you need
- Python 3.9+ (no extra packages), or n8n with a Gmail credential
- IMAP access to your mailbox (Gmail/Outlook: turn on 2-step verification and create an app password)
5-minute setup
Python
- Install Python 3.9+ and unzip the download.
- Try it with no accounts:
python3 unanswered_email_nudger.py --eml-dir sample_emails --dry-run - Copy
.env.exampleto.envand fill it in. - Run:
set -a; . ./.env; set +a; python3 unanswered_email_nudger.py(Windows steps in the README).
n8n (no code)
- Workflows, then Import from file, then
unanswered-email-nudger.n8n.json. - Follow the yellow “Read me” note (credentials or webhook).
- Test workflow, then switch it to Active.
Run it on a schedule
Every weekday at 08:00 with cron:
0 8 * * 1-5 cd /path/to/unanswered-email-nudger && set -a && . ./.env && set +a && python3 unanswered_email_nudger.py >> run.log 2>&1On Windows use Task Scheduler. With n8n, the Schedule node does it for you.
Settings
| Variable | What it does |
|---|---|
IMAP_HOST / IMAP_USER / IMAP_PASSWORD | e.g. imap.gmail.com / you@gmail.com / your app password |
DAYS | No reply after this many days, default 3 |
LOOKBACK_DAYS | Ignore sent mail older than this, default 21 |
SENT_FOLDER | Auto-detected (e.g. [Gmail]/Sent Mail); set it if detection fails |
REPLY_FOLDERS | Where replies land, default INBOX (Gmail: add [Gmail]/All Mail if you archive) |
MY_ADDRESSES | Your addresses/aliases, comma-separated (default IMAP_USER) |
SMTP_HOST / SMTP_PORT / EMAIL_TO | Optional: email the list to yourself (reuses your IMAP login) |
What we tested
- Ran on the included sample sent/inbox emails: only the quote with no reply is listed; replies matched by In-Reply-To and by sender + subject; noreply recipients and recent emails skipped.
- Fake IMAP server test: Sent folder auto-detected from the \Sent flag, folders opened read-only, only headers fetched with BODY.PEEK (nothing marked read).
- Report email tested with a mocked SMTP server: it goes to you only, never to the people you emailed.
- n8n (Gmail) workflow imported into a real n8n install and its matching logic run on test data. We didn't run the Gmail nodes, because they need your Gmail login.
Honest limits
- Not tested against a real mailbox (needs your login).
- A reply that lands in a folder it doesn't read (e.g. archived in Gmail) isn't seen: add that folder to REPLY_FOLDERS.
- Replies from a different address than the one you wrote to, with a changed subject, can be missed.
- It only lists; it never writes follow-ups. That's on purpose.
Related guides
Want one built for your task?
Describe it in one sentence. We build it, test it and email it to you, usually within 24h. Free while we're in beta.