https://github.com/trstringer/pymail
:mailbox_with_mail: Command-line email client
https://github.com/trstringer/pymail
Last synced: 7 months ago
JSON representation
:mailbox_with_mail: Command-line email client
- Host: GitHub
- URL: https://github.com/trstringer/pymail
- Owner: trstringer
- Created: 2016-09-09T00:12:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-19T22:45:08.000Z (over 9 years ago)
- Last Synced: 2025-05-07T09:07:26.837Z (9 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pymail
*Send and receive email from the command line.*
*Note: Gmail is the currently supported email provider*
## Setup
Run `install.sh` in the root repository directory
```
$ ./install.sh
```
## Configuration
**Location**: `~/.pymail`
```json
{
"sender": {
"auth": {
"user": "user@gmail.com",
"pass": "password"
}
},
"addressBook": [
{ "name": "Person1", "email": "person1@email.com" },
{ "name": "Person2", "email": "person2@email.com" }
]
}
```
## Significant directories
- **Inbox**: `~/pymail/`
- **Inbox archive**: `~/pymail/archive/`
- **Outbox**: `~/pymail/outbox/`
- **Outbox sent**: `~/pymail/outbox/sent/`
## Usage
### List addressbook contents
```
$ pymail addressbook
```
### Send and receive email
```
$ pymail
```