Email send bulk

From aAAaqwq/AGI-Super-Team · View interactive version

Email send bulk is an AI agent skill from the GitHub repository aAAaqwq/AGI-Super-Team. Gmail API bulk email sending

How to use this skill

Skill file

Email Send Bulk

Bulk email sending via Gmail API from Google Sheets

When to use

IMPORTANT: Confirmation rule

ALWAYS show the email text (To, Subject, Body) and ask for user confirmation BEFORE sending.

Never send an email without an explicit "yes" / "send it" from the user.

Dependencies

Paths

| What | Path |

|------|------|

| Script | $GOOGLE_TOOLS_PATH/send_emails.py |

| Token | $GOOGLE_TOOLS_PATH/token.json |

| Credentials | $GOOGLE_TOOLS_PATH/credentials.json |

Spreadsheet Config

| Column | Index | Purpose |

|--------|-------|---------|

| B | 1 | Name |

| C | 2 | Email |

| T | 19 | Email Status |

| U | 20 | Email text |

How to run

cd $GOOGLE_TOOLS_PATH
.venv/bin/python3 send_emails.py 5      # send 5 emails
.venv/bin/python3 send_emails.py 10     # send 10 emails
.venv/bin/python3 send_emails.py        # default 5

How it works

  1. Reads Google Sheet
  2. Filters: status != Sent AND email is not empty AND text is not empty
  3. Composes email from Your Name <your@email.com>
  4. Sends via Gmail API
  5. Updates status in column T
  6. 1 sec delay between emails

Subject

Hardcoded in script:

Data labeling training from YourCompany Inc.

To change -- edit SUBJECT in the script.

Statuses (column T)

Sender

From: Your Name <your@email.com>

Limits

How to prepare email text

Text is taken from column U. Can be prepared via:

# $GOOGLE_TOOLS_PATH/prepare_emails.py
# Generates personalized text for each recipient

Troubleshooting

| Problem | Solution |

|---------|----------|

| 401 Unauthorized | Refresh token: google-auth |

| Daily limit exceeded | Wait 24 hours |

| Invalid email | Check format in spreadsheet |

Related skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.