Turn e-mail requests into tasks

A task with a due date and a link to the e-mail for each new request that needs work from you.

  • On an event: When an e-mail with a request arrives

What it does

The task

Read the e-mails that arrived in my Gmail inbox in the last 15 minutes. Find the ones that ask me to do something, for example review a file, send data or make a decision. For each one, create a task assigned to me in my ClickUp list list name. Use a title of at most 8 words, the due date from the e-mail or default days days from today, and the link to the e-mail in the description. Do not create two tasks for one thread, and do not reply to the e-mail.

  • It works in Gmail and ClickUp, in the workspace you pick, and signs in with passwords from your Cuiar vault.
  • A routine checks every 15 minutes and acts on what is new: when an e-mail with a request arrives.

What you give it

BlankWhat to giveExample
list nameThe ClickUp list for your tasksMy inbox tasks
default daysDays until the due date when the e-mail gives none3

What you get back

An example run with the example values above. Your run uses your own data.

2 tasks created in the ClickUp list "My inbox tasks"

  • Review the Q4 freight contract (due 7 Nov). From: Hannah Lee, Northport Freight
  • Send headcount numbers to finance (due 5 Nov, default). From: Omar Said

Skipped 6 e-mails:

  • 4 newsletters, 1 calendar notice, 1 for your information only

Run it in Cuiar

  1. 01

    Open it

    Click Use in Cuiar on this page. The side panel opens with the task in the composer.

  2. 02

    Fill in 2 blanks

    Type list name and default days. Tab moves to the next blank.

  3. 03

    Run it, then repeat it

    Run sends it once. To run it when an e-mail with a request arrives, make a routine on cuiar.com/routines or with the CLI below.

As a routine, from the terminal

cuiar routines create "Turn e-mail requests into tasks" --schedule "*/15 * * * *" --time-zone Europe/Berlin \
  "Read the e-mails that arrived in my Gmail inbox in the last 15 minutes. Find the ones that ask me to do something, for example review a file, send data or make a decision. For each one, create a task assigned to me in my ClickUp list My inbox tasks. Use a title of at most 8 words, the due date from the e-mail or 3 days from today, and the link to the e-mail in the description. Do not create two tasks for one thread, and do not reply to the e-mail."

Run it from your AI agent

Claude Code, Codex, Cursor and other MCP clients reach Cuiar at https://mcp.cuiar.com/mcp. Add the server one time, then ask for the task in plain words, or call create_routine yourself.

1. Add Cuiar to Claude Code

claude mcp add --transport http cuiar https://mcp.cuiar.com/mcp

2. Ask your agent

Use the Cuiar tool create_routine to run my "Turn e-mail requests into tasks" template with list name = My inbox tasks; default days = 3.

Setup for other agents: AI agents.

The tool call

{
  "name": "create_routine",
  "arguments": {
    "name": "Turn e-mail requests into tasks",
    "task": "Read the e-mails that arrived in my Gmail inbox in the last 15 minutes. Find the ones that ask me to do something, for example review a file, send data or make a decision. For each one, create a task assigned to me in my ClickUp list My inbox tasks. Use a title of at most 8 words, the due date from the e-mail or 3 days from today, and the link to the e-mail in the description. Do not create two tasks for one thread, and do not reply to the e-mail.",
    "schedule": "*/15 * * * *",
    "time_zone": "Europe/Berlin"
  }
}
All ops templates
  • OpsAsks first

    Find a meeting time and reply with options

    Three free times from your calendar in a draft reply to each meeting request. You approve each reply.

    On an event: When an e-mail asks you for a meeting
    • Gmail
    • Google Calendar
  • OpsAsks first

    Accept or decline meeting invitations by your rules

    A suggested answer and a reason for each new invitation, with a short note for each decline.

    On an event: When a new meeting invitation arrives
    • Google Calendar
    • Gmail
  • OpsAsks first

    Send a recap and action items after each meeting

    Decisions, owners and due dates from the meeting transcript, in a draft e-mail to the guests.

    On an event: When a meeting with a transcript ends
    • Google Calendar
    • Google Meet
    • Google Docs
    • +1 more: Gmail
  • Ops

    Sort my inbox every morning

    A label on each new e-mail, and a short list of what needs a reply.

    On a schedule: Every weekday at 7:30
    • Gmail
  • OpsAsks first

    Follow up on e-mail with no reply

    A polite follow-up in each thread. Nothing goes out before you approve it.

    On a schedule: Every weekday at 16:00
    • Gmail
  • Ops

    Collect last month's invoices

    The vault signs in to each account. All PDFs go to one folder.

    On a schedule: On the 1st of each month at 9:00
    • Gmail
    • Google Drive