Skip to content

https://48hr.email | Dont give shady companies your real email. Use 48hr.email to protect your privacy!

License

Notifications You must be signed in to change notification settings

Crazyco-xyz/48hr.email

Repository files navigation

48hr.email


What is this?

48hr.email is my very own tempmail service. You can create emails on the fly with one click, not needing to worry about corporations do with your email. They can sell that one all they want!

All data is being removed 48hrs after they have reached the mail server.

Try now | Example Inbox | Discord




What are its features?

  • Create a custom inbox with select name and domain, or get a fully randomized one
  • Receive emails with a clean preview in your inbox, with optional browser notifications
  • Read emails, with support for HTML, CSS & JS just like you are used to from regular email providers
  • Delete your emails ahead of time by pressing the delete button
  • View the raw email, showing all the headers etc.
  • Download Attachments
  • and more...




How does this work?

48hr.email uses an existing IMAP server for its handling. A single catch-all account and the accompanying credentials handle all the emails.




How can I set this up myself?

  • Prerequisites:
    • Mail server with IMAP
    • One or multiple domains dedicated to this
    • git & nodejs

Option 1 - bare-metal install:
  • Setup:

    • git clone https://github.com/Crazyco-xyz/48hr.email.git
    • cd 48hr.email
    • npm i
    • Change all settings to the desired values:
      • Either use environmental variables, or modify application/config.sample.js (Rename to config.js after)
      • For a list of values, check application/config.sample.js.
    • npm run start
  • Service file example:

[Unit]
Description=48hr-email
After=network-online.target

[Service]
Type=exec
User=clara
Group=clara

WorkingDirectory=/opt/48hr-email
ExecStart=npm run start

Restart=on-failure
TimeoutStartSec=0
RestartSec=5s

[Install]
WantedBy=multi-user.target
Option 2 - Docker:
  • Setup:

    • git clone https://github.com/Crazyco-xyz/48hr.email.git
    • cd 48hr.email
    • Change all settings to the desired values:
      • Either use environmental variables, or modify application/config.js
    • docker compose up -d
    • If desired, you can also move the config file somewhere else (change volume mount accordingly)




TODO (PRs welcome):

  • Clean up code inside application folder
  • Add user registration:
    • Optional "premium" domains that arent visible to the public to prevent them from being scraped and flagged
    • Allow people to set a password for their email (releases X time after last login)
    • Allow people to set up forwarding

Unsure:

  • Possible payment integration once registration exists, to lock one or more of these new features behind a paywall (configurable, ofc)




Screenshots:

  • Inbox:

  • Email with CSS:

  • Email without CSS:




❤️ Support me

Since I work full-time on open-source projects spread across my organizations, my only source of income is donations from people like you that use & appreciate my stuff. So, if you can spare a dollar or two, I would really appreciate that. All the money goes towards paying rent, essentials like food, drinks etc, and most importantly it will be used to fuel my cookie addiction🍪

Crypto:

  • XMR: 42xc4qPZyfi4wzAkCBXSoMSo3BLDS8946J89JXDqtT5gRj6uYpfhjQF12NLPMxtqGDL2RxoWXjB73iYdBP8DX7SqGvdbdtb
  • USDT (TRX20): TWg6VDUBase3HDA6RxAwTVjQw4SbxoGyqZ
  • USDT (ERC20): 0x841251438A8Fb2B16298C15B10feA9Fd2cEA3405
  • Doge: DCKAFtgw6686uEMaFzZfCtUajS9VjPJLMm
  • BTC: bc1qje8qy7gpudm8hhyx43n9xndg7d8xj5f7dh6m4p

Fiat:

  • Patreon (Fee: 8%*): ❤️ Account needed, subscription with perks
  • ko-fi (Fee: 2%*): No account needed, subscription or one-time donation
  • Wire-transfer (Fee: 0%*): No account needed, one-time donation
  • Paypal** (Fee: 2%*): Account needed, one-time donation

* Fee is calculated by how much I will lose when cashing out
** Please make sure to select Friends and Family

Thanks for all your support <3