Back to Prompts
📧
📋

Text summary of important emails

Creator

Categories

AutomateGmail

Prerequisites

  • User should have their Gmail connected. Verify with List app tools with slug gmail.

  • User should have their phone number added.


Protocol

  1. Use Use Gmail tool with gmail-find-email as the action, with the following props
{ "q": "after:<DATE>", "maxResults": 100, "withTextPayload": true }

where <DATE> is the date two days ago in format YYYY-MM-DD

  1. Identify the 5 most important emails. Consider the user's bio when determining which are most important. Also consider if the user has not read or not replied to the email (determined by examining the labels).
  2. Summarize and provide suggestions for follow-ups. Keep it concise.
  3. Use Send SMS to text the user your summary.
  4. Ask the user if they would like to set this up as an agent task to run daily. If so, use create_scheduled_task with delivery_method: "sms" and with instruction
Run `prompt Prompts/important-email-digest.prompt.md` but IGNORE step 4 and step 5.