Skip to content

Osso/gmail-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gmail-cli

CI GitHub release License: MIT

CLI for Gmail API access.

Installation

cargo install --path .

Setup

gmail login  # Opens browser for OAuth

Usage

gmail list                  # List messages
gmail list --unread         # List unread messages
gmail read <id>             # Read a specific message
gmail archive <id>          # Archive message
gmail spam <id>             # Mark as spam
gmail label <id> <label>    # Add label
gmail delete <id>           # Move to trash
gmail unsubscribe <id>      # Open unsubscribe link

License

MIT

About

Gmail CLI and Rust library

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages