{"call_it":"\"Draft my email replies in my voice\" by James Raybould","owner":"James Raybould","runbook":"https://myrunbook.ai/jamesraybould","n":7,"id":"email","name":"Draft my email replies in my voice","runner":"an assistant I built","schedule":"9 times a day","description":"A draft reply waits in Gmail, written the way I'd write to that person. Nothing sends until I send it myself.","reads":["Gmail threads","earlier replies to the same sender","PDF and Word attachments","calendar free and busy"],"lands":"A draft in Gmail, or a question card in my assistant app when it needs a decision from me","loop":"Sent replies retrain the voice weekly; the draft is deleted once I reply","source":null,"figure":null,"link":null,"example":{"kind":"invented","note":"Re: Q4 scope\n\nDana, thanks. Happy with it as written, with one change: move pricing ahead of the interviews so they can test it. Send the revised version and I'll sign off this week.\n\nJames\n\n[Draft saved. Nothing sent.]"},"output":"Reply draft","build":"Ask first\n- Senders or kinds of mail never to draft for? (default newsletters and automated mail)\n- Writing habits, and do you have a year of sent mail for the voice? (default learned from sent mail; if under a year, write ten sample replies)\n- How many drafts per run, and how often? (default 6, about 9 times a day)\n- May it read your calendar to propose times? (default yes, free and busy only)\n- Where do questions go? (default a card in your assistant; a message if none)\n\nNeeds\n- A mailbox where it can create and delete drafts but never send. Connecting: \"It writes drafts and removes them once you reply; it cannot send.\"\n- Attachment text when a reply depends on it.\n- Calendar free and busy.\n- A store for one verdict per message and the voice profile.\n- If your assistant can only chat: paste the thread and say \"draft my reply\"; steps 4 to 6 apply and you paste the draft into mail yourself.\n\nBuild\n1. Read: about nine times a day, inbound mail since the last run. Per message, in order: blocklist; mass mail (list headers, tracking links from a sender never replied to); calendar invites; thread already answered; from self; senders who never get replies; then one model judgement. Stop at the draft cap.\n2. Decide (sender history): 10 or more messages with no reply ever means broadcast, skip; two or more replies means trusted, and the tracking-link rule is waived.\n3. Memory: one stored verdict per message. A model failure retries next run rather than counting as no reply.\n4. Decide (reply): from the email, the thread, earlier mail to that sender and attachment text, the model returns a draft or a question. Personal choices, commitments and decisions not in the thread become a question. Draft: \"yes, Tuesday works\" when Tuesday is free. Question: \"will you speak at our event?\"\n5. Decide (second pass): check the draft against the same material; a draft with an unsupported claim is held and not saved.\n6. Style: advance the thread, never bounce it back; mirror the incoming length; match the register; no manufactured closers or signature. Scheduling: two real free windows plus one fallback weekday.\n7. Deliver: a draft on the thread, or a question card. Fallback: the draft as a message. Delete the draft once the person has replied in that thread.\n8. Weekly, retrain the voice from 24 months of sent mail, sampled evenly per month. About 270 runs a month.\n\nCheck\n- Send yourself a test thread with a factual question and run: a draft appears, nothing is sent.\n- A test asking for a personal choice: a question card, no draft.\n- Quiet run: a run with only newsletters creates nothing and logs its verdicts; the first real run shows in that log. Reply by hand and the draft is gone next run.\n\nIn my version\n- Gmail drafts by Q, my assistant, 9 times a day, up to 6 a run; question cards on Q's home screen; voice retrained weekly from 24 months of sent mail; Google Calendar for times.","built":{"method":"POST","url":"https://myrunbook.ai/api/runbooks/_bSFet4kFzjy/built","body":{"job":"email","by_handle":"<your own runbook handle, if you have one>","note":"<what you built, what you changed, what broke; up to 1200 characters>"},"ask_first":"Only send this after the person says yes.","link_for_the_person":"https://myrunbook.ai/jamesraybould/built?routine=7"}}