Skip to content

Tmpmail

L33T edited this page Sep 9, 2026 · 1 revision

Tmpmail is a terminal tool that let's you generate a fake temporary mail, it cannot be used for sending mail, only receiving, ideal for one-time verification codes.
It requires...

  • w3m
  • curl
  • jq
  • xclip

Usage

tmpmail - Temporary mail from the terminal
----------------------------
tmpmail -h | --version
tmpmail -g [ADDRESS]
tmpmail [-t | -b BROWSER] -r | Email ID

When called with no option and no argument, tmpmail lists the messages in
the inbox and their numeric IDs.  When called with one argument, tmpmail
shows the email message with specified ID.

-b, --browser BROWSER
        Specify BROWSER that is used to render the HTML of
        the email (default: w3m)
    --clipboard-cmd COMMAND
        Specify the COMMAND to use for copying the email address to your
        clipboard (default: xclip -selection c)
-c, --copy
        Copy the email address to your clipboard
-d, --domains
        Show list of available domains
-g, --generate [ADDRESS]
        Generate a new email address, either the specified ADDRESS, or
        randomly create one
-h, --help
        Show help
-r, --recent
        View the most recent email message
-t, --text
        View the email as raw text, where all the HTML tags are removed.
        Without this option, HTML is used.
--version
        Show version

Powered by mail.tm

Installation

You can use tmpmail by downloading tmpmail and making it executable...

  • Download: wget https://github.com/chiefbigrubberduck/Linux-Utils/raw/main/tmpmail
  • Make executable: sudo chmod +x tmpmail
  • Run: ./tmpmail

Optional: Add to path with pathadder.

Clone this wiki locally