Skip to main content

Google Mail CLI

Project description

gmail

usage: gmail [--limit LIMIT] [-h] [-H] [-v] [-V] [--config FILE]
             [--print-config] [--print-url] [--completion [SHELL]]
             COMMAND ...

Google `mail` command line interface.

options:
  --limit LIMIT         Limit execution to `LIMIT` number of items.

Specify one of:
  COMMAND
    download            Download mail messages.
    labels              List labels.
    list                List mail messages.

General options:
  -h, --help            Show this help message and exit.
  -H, --long-help       Show help for all commands and exit.
  -v, --verbose         `-v` for detailed output and `-vv` for more detailed.
  -V, --version         Print version number and exit.
  --config FILE         Use config `FILE` (default: `~/.pygoogle.toml`).
  --print-config        Print effective config and exit.
  --print-url           Print project url and exit.
  --completion [SHELL]  Print completion scripts for `SHELL` and exit
                        (default: `bash`).

See `gmail COMMAND --help` for help on a specific command.

gmail download

usage: gmail download [-h] MSG_ID

The `gmail download` program downloads a mail message.

positional arguments:
  MSG_ID      The id of the message to download.

options:
  -h, --help  Show this help message and exit.

gmail labels

usage: gmail labels [-h] [--show-counts]

The `gmail labels` program lists labels.

options:
  -h, --help     Show this help message and exit.
  --show-counts  Show message counts.

gmail list

usage: gmail list [-h] [--print-message] [--print-listing] [--download]
                  [--msg-id MSG_ID] [--label-ids [LABEL_IDS ...]]
                  [--has-attachments] [--has-images] [--has-videos]
                  [--search-query SEARCH_QUERY]

The `gmail list` program lists mail messages.

options:
  -h, --help            Show this help message and exit.
  --print-message, --print-msg
                        Print message.
  --print-listing       Print listing.
  --download            Download attachments.
  --msg-id, --msgid MSG_ID
                        Operate on `MSG_ID` only.
  --label-ids [LABEL_IDS ...]
                        Match labels.
  --has-attachments     Search messages with any files attached.
  --has-images          Search messages with image files attached.
  --has-videos          Search messages with video files attached.
  --search-query SEARCH_QUERY
                        Gmail search box query pattern.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rlane_gmail-1.0.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

rlane_gmail-1.0.2-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file rlane_gmail-1.0.2.tar.gz.

File metadata

  • Download URL: rlane_gmail-1.0.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for rlane_gmail-1.0.2.tar.gz
Algorithm Hash digest
SHA256 6845aebd25c4959ee0f3e9a072073b030fb6e992cc9e90c442e1b520989b8ccd
MD5 2be4c240b86550812df5f2955ed5e504
BLAKE2b-256 354154a8d98b3e348d22a8564aaffd92fd6a86c8fd3b357f4af9aa2903bb0956

See more details on using hashes here.

File details

Details for the file rlane_gmail-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: rlane_gmail-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for rlane_gmail-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa815e7f0926b4db9223857e5731c286e7186397535426d2f4e604acbf2be34d
MD5 9778724f5c3df1ceec6f70a71e27f833
BLAKE2b-256 9fec2e0782ef3e98291fef06dc92ff400a1f4e1df2a177e996976d7c450cbd2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page