https://github.com/dynle/testmail-helper
Use the Testmail.app API on command line with Python to see inbox more readably.
https://github.com/dynle/testmail-helper
api command-line python testmail
Last synced: 7 months ago
JSON representation
Use the Testmail.app API on command line with Python to see inbox more readably.
- Host: GitHub
- URL: https://github.com/dynle/testmail-helper
- Owner: dynle
- Created: 2023-01-05T07:49:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-13T02:40:21.000Z (over 1 year ago)
- Last Synced: 2025-02-06T16:05:53.142Z (over 1 year ago)
- Topics: api, command-line, python, testmail
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# testmail-helper
Command-line program using [Testmail.app](https://testmail.app/) API to see inbox more readably.
## Getting Started
Install packages by pip.
```bash
$ pip install -r requirements.txt
```
Edit the json file which contains api key and namespace of your Testmail.app account.
[credentials.json](credentials.json)
```json
{
"myAccount": {
"apiKey" : "your api key",
"namespace" : "your namespace"
}
}
```
## Usage
```bash
# No tag
$ python testmail-helper.py
# With tag
$ python testmail-helper.py --tag your_tag
```
## Output Example
```
INBOX:
----------------------------------
From: dynle
Subject: Example
Time: 2023-00-00 00:00:00
Testmail.app Tag: example
Content:
sample text
----------------------------------
...
```
## License
[MIT](https://choosealicense.com/licenses/mit/)