Back to Skills
    🦞

    gmail-client

    Read and send emails via Gmail.

    By @pierremenard
    View on GitHub
    SKILL.md
    ---
    name: gmail-client-PM
    description: Read and send emails via Gmail. Use to list unread messages, read specific emails by ID, or send new emails.
    ---
    
    # Gmail Client
    
    A simple Python-based tool to interact with Gmail using IMAP/SMTP.
    
    ## Configuration
    
    Requires `GMAIL_USER` and `GMAIL_PASS` (App Password) environment variables.
    
    ## Usage
    
    ### List Unread Emails
    
    ```bash
    python3 skills/gmail-client/scripts/gmail_tool.py list
    ```
    
    ### Read an Email
    
    ```bash
    python3 skills/gmail-client/scripts/gmail_tool.py read <EMAIL_ID>
    ```
    
    ### Send an Email
    
    ```bash
    python3 skills/gmail-client/scripts/gmail_tool.py send <TO> <SUBJECT> <BODY>
    ```