# Tempomail | Generate A Custom Email Address In 1 Second And Receive Emails

**URL:** <https://onehack.st/t/tempomail-generate-a-custom-email-address-in-1-second-and-receive-emails/161759>\
**Category:** Tools & Scripts\
**Tags:** hacking, piracy, business, email\
**Created:** [November 8, 2020, 12:51pm UTC](https://onehack.st/t/tempomail-generate-a-custom-email-address-in-1-second-and-receive-emails/161759 "2020-11-08T12:51:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [November 8, 2020, 12:51pm UTC](https://onehack.st/t/tempomail-generate-a-custom-email-address-in-1-second-and-receive-emails/161759/1 "2020-11-08T12:51:59Z")

</div>

[![](https://github.com/kavishgr/tempomail/raw/main/demo.gif)](https://github.com/kavishgr/tempomail/blob/main/demo.gif)

**`tempomail`** is a standalone binary that allows you to create a temporary `email address` in **1 Second** and receive emails. It uses 1secmail’s [API](https://www.1secmail.com/api/). No dependencies required!

# Installation

### From Binary

Download the pre-built binaries for different platforms from the [releases](https://github.com/kavishgr/tempomail/releases/) page. Extract them using tar, move it to your `$PATH` and you’re ready to go.

```auto
▶ # download release from https://github.com/kavishgr/tempomail/releases/ 
▶ tar -xzvf linux-amd64-tempomail.tgz 
▶ mv tempomail /usr/local/bin/ 
▶ tempomail -h

```

### From Github

```auto
git clone https://github.com/kavishgr/tempomail.git
cd tempomail
go build .
mv tempomail /usr/local/bin/ #OR $HOME/go/bin
tempomail -h

```

# Usage

By default, all emails are saved in **/tmp/1secmails/**. It only has only one flag `--path` to specify a directory to store your emails:

```auto
Usage of tempomail:
  -path string
    	specify directory to store emails (default "/tmp/1secmails/")

```

Press `CTRL+c` or `SIGTERM` to quit and delete all received emails.

## Does it need improvement ?

Open an issue.

## TODO

- Download Attachments

## GitHub:

[https://github.com/kavishgr/tempomail](https://github.com/kavishgr/tempomail)

---

<div class="post-metadata">

**Author:** ![Roberto\_Diaz](https://onehack.st/user_avatar/onehack.st/roberto_diaz/32/18084_2.png) [@Roberto\_Diaz](https://onehack.st/u/Roberto_Diaz)\
**Post date:** [November 8, 2020, 1:55pm UTC](https://onehack.st/t/tempomail-generate-a-custom-email-address-in-1-second-and-receive-emails/161759/2 "2020-11-08T13:55:03Z")

</div>

hi  
Thank you very much for sharing with us  
Regards
