How They Use AI  |  Newest

<< Home  |  Work

Automated email verification and spreadsheet tracking

AreaWork
AI usedPython and LLM
SourceReddit comment
Posted2026-06-22

The move

Automate email attachment verification and spreadsheet updates using a script.

Steps

  1. Write a Python script to connect to your email inbox via API.
  2. Program the script to scan for specific file attachments in sales emails.
  3. Configure the script to send automated reply emails if files are incorrect.
  4. Use the script to log the status of each contract into a spreadsheet.

Prompt for your AI

Write a Python script that connects to my email inbox, checks if incoming emails contain [specific file type], and if not, sends a reply asking for the correct file. Then, update a Google Sheet with the status of each contract.

What happened

The user manually checked sales emails for correct file attachments. They built a Python script to scan incoming emails, validate attachments, and request corrections when files were missing or wrong. The script also updates a spreadsheet to track pending versus completed contracts.

Watch out

Ensure your email credentials are stored securely using environment variables. Test the automated reply function on a dummy account first to avoid sending incorrect emails to clients.

Give it to your agent

Read https://howtheyuse.ai/p/automated-email-verification-and-spreadsheet-tracking.md and help me do this.

Sources



Last updated November 26, 2026.