Home

Awesome

YmailBot - Temporary Email Service in your smartphone. 📬

⚠️ Deprecated. Use AtomicEmails/AtomicEmails instead.

Contents

Introduction


What is YmailBot?

Ymail is a user-friendly telegram bot that lets you create temporary email addresses and receive emails on your smartphone for free. It's open source design allows you to receive emails from any website or service requiring email verification, as well as from friends and family. The bot helps safeguard your privacy and keep your email address secure by preventing spamming and hacking attempts.

Why YmailBot?

YmailBot is a free, open source, and user-friendly temporary email service that allows you to receive emails on your smartphone. It is a great alternative to other temporary email services that require you to sign up for an account and provide your personal information. Ymail is a great way to protect your privacy and keep your email address secure. There is also an ability to connect your own domain to the bot to prevent service from being blocked by some websites.

Features


Create a temporary email address

You can create a temporary email address by sending the command /new to the bot. The bot will then generate a random email address for you and forward all incoming emails to your chat.

Persistent email address

One persistent email address is created for each chat. You can use this email address to receive emails from friends and family instead of using your main email address. The bot will forward all incoming emails to your chat.

Connect your own domain

You can connect your own domain to the bot to prevent service from being blocked by some websites. To do that, you need to install bot on your own machine and follow the instructions in the Installation section.

Installation


Requirements

Setup

Using Docker Compose:

$ git clone https://github.com/voxelin/Ymail.git
$ cd Ymail
$ mv .env.example .env
$ nano .env
$ docker-compose up -d

Using Deno:

$ git clone https://github.com/voxelin/Ymail.git
$ cd Ymail
$ mv .env.example .env
$ nano .env
$ curl -sSf https://install.surrealdb.com | sh
$ surreal start --user <username-from-env> --pass <password-from-env> <DB-Path-from-env>
$ deno task edge

Network Setup

$ ngrok http 7000
// Navigate to https://api.telegram.org/bot<your-bot-token>/setWebhook?url=<your-webhook-url>/bot/<your-bot-token>. You should receive a response like this:
{ "ok": true, "result": true, "description": "Webhook was set" }
+ Expression type: Catch All
+ Forward: <your-webhook-url>/receive?secret=SECRET_KEY_FROM_ENV
+ Priority: 0

You are all set! Now you can use the bot to create temporary email addresses and receive emails on your smartphone. 🎊📬

Usage


Commands

Contributing


Contributions are welcome! Please read the contribution guidelines first.

License


This project is licensed under the GNU General Public License - see the LICENSE file for details.

Credits