Open Source · Free

Disposable emails,
right inside Telegram.

Generate a real temporary inbox in one tap. Try the live demo — emails actually arrive. No sign-up, no tracking.

Open in Telegram View on GitHub
Live Demo — real emails
✉️
TempMail Bot
online

Everything you need, nothing you don't.

Instant inbox

A real mail.tm address is created in seconds. No forms, no captchas.

🔔

Live push

A background listener polls every 5 s and forwards new mail to you the moment it arrives.

🛡️

Rate limited

New address: 5-min cooldown. Inbox check: 30-sec cooldown. Prevents API abuse automatically.

🗄️

Persistent sessions

Your active address and token are stored in SQLite so you never lose your inbox on restart.

🔒

Private by default

Each Telegram user gets their own isolated inbox. No shared state, no data leaks.

🐍

Simple stack

Pure Python — aiogram 3, aiosqlite, mailtm, python-dotenv. One pip install away.

How it works

  1. 1
    Start the bot

    Send /start to the bot on Telegram. You'll see two buttons: Get Email and Check Inbox.

  2. 2
    Generate an address

    Tap Get Email. The bot calls the mail.tm API, creates a fresh inbox, and replies with your new address.

  3. 3
    Wait or check manually

    Mail arrives automatically via the background listener, or tap Check Inbox to pull messages on demand.

  4. 4
    Auto-cleanup

    The listener stops after 5 minutes. Tap Get Email again whenever you need a fresh address.

Self-host in 60 seconds

# 1. Clone
git clone https://github.com/bonnwest/temp-mail-telegram-bot
cd temp-mail-telegram-bot

# 2. Install deps
python -m venv venv && source venv/bin/activate
pip install -r requirements.txt

# 3. Configure
echo "TELEGRAM_TOKEN=your_token_here" > .env

# 4. Run
python bot.py

Get your token from @BotFather — it takes under a minute.