https://github.com/abcdan/tmpx
π¨ A stupidly simple to use temporary mail host
https://github.com/abcdan/tmpx
imap nodejs temporary-email
Last synced: 8 months ago
JSON representation
π¨ A stupidly simple to use temporary mail host
- Host: GitHub
- URL: https://github.com/abcdan/tmpx
- Owner: abcdan
- License: apache-2.0
- Created: 2022-08-02T20:45:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-27T14:17:27.000Z (over 3 years ago)
- Last Synced: 2025-10-10T21:48:01.497Z (8 months ago)
- Topics: imap, nodejs, temporary-email
- Language: Vue
- Homepage: https://tmpx.email
- Size: 1.14 MB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tmpx π¨
A stupidly simple to use temporary mail host with an easy to use JSON/WS API _Yes, there are hundreds of these. It's just fun to learn new things_
## Core features π
- A simple web UI where you can generate a temp mail.
- An easy to use Websocket/HTTP API so you can integrate it into your own stuff.
## Website and email πΈοΈ
The website will be hosted on `https://tmpx.email` and the domain that's for receiving mail will be `@tmpx.sa.com`.
## Technologies π€
It'll be straight forward:
- Express for an API you can interact with.
- Socket.io for the Websockets so the front-end doesn't have to refresh.
- An IMAP server, this stores all the mail. Why use a DB when we can just use IMAP for now.
- imap-simple to interact with the IMAP server.
## Requirements π₯
- A solid IMAP server that has a high uptime
- A VPS with Node.js installed
- A catch-all email address
## Roadmap π£οΈ
- [x] Setup a backend that can stream imap to the right places
- [x] An endpoint that will fetch recent mail from the IMAP server
- [ ] A CRON that will clear the main inbox after a certain amount of time
- [ ] Download to PDF
- [ ] Forward mail to your own places, like a proxy
- [ ] Connect your own domain, you'll probably have to set something up that it arrives at our inbox.
- [ ] Storing everything to a faster database than IMAP as soon as the mail arrives & then remove it from the mailbox to leave no traces on the place it arrived at.
- [ ] Queuing queries so the IMAP server doesn't get flooded with useless queries.
- [ ] Ratelimitting based off the email address AND ip that the requests comes from.
- [x] Automatically reconnect when the IMAP connection drops
## Backend routes
The base for the JSON-API is `https://json.tmpx.email`, it currently hosts the `@tmpx.sa.com` domain.
### `/mail/:emailAddress`
* Find all mails for a certain email emailAddress
### `/ping`
* Pong!
* Checks if the IMAP server is connected
## Partners π€
The IMAP server will be hosted by [LNGZL](https://lngzl.nl) which is my software development agency aka it's sponsored by myself π
## Donate domains
If you're interested in donating a domain to the tmpx platform, first of all that's awesome!
Simply join the official LNGZL Discord server and send me (Like#0001) a message.
Click [here](https://discord.gg/p8uBcSW) to join the Discord
## License βοΈ
It's licenesed under the Apache-2.0 license, check `LICENSE.md` for _all_ information.