Skip to main content

Google Mail CLI

Project description

gmail

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

Google `mail` command line interface.

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] [--limit LIMIT] [--pretty-print]

The `gmail labels` program lists labels.

options:
  -h, --help      Show this help message and exit.
  --show-counts   Show message counts.
  --limit LIMIT   Limit execution to `LIMIT` number of items.
  --pretty-print  Pretty-print items.

gmail list

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

The `gmail list` program lists mail messages.

options:
  -h, --help            Show this help message and exit.
  --limit LIMIT         Limit execution to `LIMIT` number of items.

Printing options:
  These options are mutually exclusive.

  --print-message, --print-msg
                        Print message.
  --print-listing       Print listing.
  --pretty-print        Pretty-print items.

Filtering options:
  --msg-id, --msgid MSG_ID
                        Operate on `MSG_ID` only.
  --label-ids [LABEL_IDS ...]
                        Match labels (default: `['INBOX']`).
  --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.3.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rlane_gmail-1.0.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rlane_gmail-1.0.3.tar.gz
  • Upload date:
  • Size: 10.4 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.3.tar.gz
Algorithm Hash digest
SHA256 5188a01718dc82b5d0c3180078a08713dd139a433c6c0f6253d052a2b0d38c36
MD5 3a24ba2cebbdcdc8f2eba9bba11cc9d0
BLAKE2b-256 f72a4fde8ab311f7cc1f3a5941350cf1ee7fb3337c852dc9c2a94020e26889d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rlane_gmail-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 11.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2b9a8f84534898182d0ab1f09b7b20bbb1363d1b0462b0ce8f1dae75f7f4b2
MD5 b8a0aba9f97879ea7678c0ece6bc5fcb
BLAKE2b-256 00ea8887dde9cedd18da8e79f1a64cda393f420530fb150eff6d00d07d60753e

See more details on using hashes here.

Supported by

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