https://github.com/antham/yogo
Check yopmail mails from command line.
https://github.com/antham/yogo
email email-disposable-checker yopmail
Last synced: 4 months ago
JSON representation
Check yopmail mails from command line.
- Host: GitHub
- URL: https://github.com/antham/yogo
- Owner: antham
- License: mit
- Created: 2015-06-21T21:23:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-07-10T11:41:31.000Z (5 months ago)
- Last Synced: 2025-07-10T18:57:58.822Z (5 months ago)
- Topics: email, email-disposable-checker, yopmail
- Language: HTML
- Homepage:
- Size: 562 KB
- Stars: 45
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go-cn - yogo
- awesome-go - yogo - Check yopmail mails from command line. (Utilities / Utility/Miscellaneous)
- awesome-go-plus - yogo - Check yopmail mails from command line.  (Utilities / Utility/Miscellaneous)
- awesome-go - yogo - Check yopmail mails from command line. (Utilities / Utility/Miscellaneous)
- awesome-go-with-stars - yogo - Check yopmail mails from command line. (Utilities / Utility/Miscellaneous)
- awesome-go - antham/yogo
- awesome-go - yogo - Check yopmail mails from command line. (Utilities / Utility/Miscellaneous)
- awesome-go - yogo - Check yopmail mails from command line. (Utilities / Utility/Miscellaneous)
- awesome-go-cn - yogo
- fucking-awesome-go - yogo - Check yopmail mails from command line. (Utilities / Utility/Miscellaneous)
README
# Yogo [](https://goreportcard.com/report/github.com/antham/yogo) [](https://codecov.io/gh/antham/yogo) []() [](https://pkg.go.dev/github.com/antham/yogo)
Check yopmail mails from command line.
## Install
Download binaries here : [yogo](https://github.com/antham/yogo/releases/).
Or run:
`go install github.com/antham/yogo/v4@latest`
A package is available in aur for archlinux.
## Usage
```
Check yopmail mails from command line.
Usage:
yogo [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
inbox Handle inbox messages
version App version
Flags:
--debug Log all requests/responses
-h, --help help for yogo
--json Dump the output as json
Use "yogo [command] --help" for more information about a command.
```
⚠️ Performing too much calls will trigger a CAPTCHA that you will need to solve through a browser. Add a delay to prevent this.
## Environment variable
You can customize the behaviour of Yogo through several environment variables:
| Name | Default value | Usage |
|------------------------|------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------|
| `HTTP_PROXY` | Empty | Define an HTTP proxy for the requests |
| `HTTPS_PROXY` | Empty | Define an HTTPs proxy for the requests |
| `YOGO_USER_AGENT` | See the `defaultUserAgent` const in the [client](https://github.com/antham/yogo/blob/master/internal/client/client.go) | The user agent used to perfom the requests |
| `YOGO_REQUEST_TIMEOUT` | 10 | Duration of a request before reaching the timeout in seconds |
## Flag
Use the `--json` output flag to get the output as JSON.
In case of an issue with `yogo`, use the `--debug` flag to log the requests/responses.
## Inbox
### List
Retrieve 10 messages from mailbox test1@yopmail.com :
```bash
yogo inbox list test1 10
```
### Flush
Flush inbox test1@yopmail.com :
```bash
yogo inbox flush test1
```
### Read a mail
Retrieve first message from inbox helloworld@yopmail.com
```bash
yogo inbox show helloworld 1
```
Retrieve second message from inbox helloworld@yopmail.com
```bash
yogo inbox show helloworld 2
```
### Read the source of the mail with all headers
```bash
yogo inbox source helloworld 1
```
### Delete a mail
Delete first message from inbox helloworld@yopmail.com
```bash
yogo inbox delete helloworld 1
```