v1.0.0 โ Released 2026-06-30 ย |ย Release Notes ย |ย Changelog ย |ย v1.1.0 Plan
๐ฌ๐ง English | ๐ฎ๐ฉ Bahasa Indonesia | ๐จ๐ณ ไธญๆ
Collection of unofficial wrappers for various Temporary Email services, written in 7 programming languages. One repo, one goal: programmatically create and manage disposable emails with ease.
| Language | Folder | Package Manager | Status |
|---|---|---|---|
| Go | /go |
go get |
โ Done |
| Python | /python |
pip |
โ Done |
| Java | /java |
Maven / Gradle |
โ Done |
| PHP | /php |
Composer |
โ Done |
| JavaScript | /javascript |
npm / yarn |
โ Done |
| Rust | /rust |
cargo |
โ Done |
| C# | /csharp |
NuGet |
โ Done |
| # | Service | Website | API Type | Auth | Difficulty |
|---|---|---|---|---|---|
| 1 | Mail.tm | mail.tm | REST+JSON | Bearer Token | โ Easy |
| 2 | GuerrillaMail | guerrillamail.com | REST | Session Token | โก Medium |
| 3 | YOPmail | yopmail.com | HTML Scraping | None | โก Medium |
| 4 | Dropmail | dropmail.me | GraphQL | Token (auto) | โ Easy |
| 5 | 1secemail | 1secemail.com | REST | None | โ Easy |
| 6 | Ncaori Mail+ | nca.my.id | REST+JSON | None | โ Easy |
TempMail-UnofficialAPI/
โโโ go/ # Go wrapper
โโโ python/ # Python wrapper
โโโ java/ # Java wrapper
โโโ php/ # PHP wrapper
โโโ javascript/ # Node.js / JavaScript wrapper
โโโ rust/ # Rust wrapper
โโโ csharp/ # C# / .NET wrapper
โโโ README.md # English (default)
โโโ README.id.md # Bahasa Indonesia
โโโ README.cn.md # ไธญๆ
โโโ LICENSE # Apache 2.0
โโโ NOTICE # Attribution & disclaimer
Each language has its own README. Click the folder above for installation details and usage examples.
// 1. Generate a temporary email
email = tempmail.generate()
// โ "random123@mail.tm"
// 2. Check inbox
messages = tempmail.get_inbox(email)
// 3. Read a message
if messages.length > 0:
content = tempmail.read_message(messages[0].id)
// 4. Delete (optional, auto-expire works too)
tempmail.delete(email)
All wrappers implement a consistent interface:
| Method | Description | Return |
|---|---|---|
generate_email() |
Generate a temporary email address | string (email address) |
get_inbox(email) |
Retrieve list of messages | []Message |
read_message(id) |
Read message content | MessageDetail |
delete_email(email) |
Delete email (cleanup) | bool |
wait_for_email(email, timeout) |
Poll for new messages | Message or null |
idโ Unique message identifierfromโ Sender addresssubjectโ Email subjectdateโ Received timestamp
body_textโ Plain text email bodybody_htmlโ HTML email body (if available)attachmentsโ List of attachment metadata
โ ๏ธ IMPORTANT
- This project is UNOFFICIAL โ not affiliated with any tempmail service.
- API endpoints may change at any time without notice.
- Use for testing, development, or personal automation only.
- Do not use for spam, fraud, or any illegal activity.
- Some services have rate limits โ use responsibly.
Want to add a language? Fix a bug? Go ahead:
- Fork this repo
- Create a branch:
feat/add-kotlin-wrapper - Commit & push
- Open a Pull Request
- Follow the existing interface structure
- Add usage examples in the per-language README
- Never hardcode API keys (use environment variables)
- Test before submitting a PR
v1.0.0 shipped with 5 services across 7 languages. Planned for upcoming releases:
- Additional providers โ new temporary email services to be added in v1.1+
- Improved YOPmail scraping โ resilience against DOM changes and anti-bot improvements
- WebSocket support for Dropmail.me (real-time inbox subscription)
- More languages โ Kotlin, Swift, Ruby pending community interest
- CLI tool โ unified command-line interface across all providers
Contributions welcome โ see CONTRIBUTING.md.
Apache License 2.0 โ see LICENSE and NOTICE.
๐ Star this repo if it helps your project!
Built with ๐ซ by the community, for the community.