Send a Follow-up Email
getmattered_send_follow_upSends an approved follow-up email about a job application through the user's connected Gmail or Outlook, then records it on the application. Use only after the user confirms the exact subject and text.
Instructions
Send a follow-up email about one application from the user's connected Gmail or Outlook, under the user's name, then record it on the application. It sends a real email to the address in to and cannot be undone. Pass application_id, to (the recipient's address as the user gave it, never a guess), subject and body (20 to 4,000 characters, the exact text the user approved). Send only on the user's explicit go-ahead: show the exact subject and text first, then send it only after they say yes to that text. Sending needs a connected Gmail or Outlook; without one, nothing is sent, the user sends it themselves, and you record it with getmattered_record_follow_up. On a timeout or an error, call getmattered_list_sent_follow_ups before sending again. Do not use it to answer an email an employer sent; use getmattered_reply_to_email. Next: getmattered_get_inbox for the employer's answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The recipient's email address, exactly as the user gave it. Never guess one. | |
| body | Yes | The message text, 20 to 4,000 characters: the exact text the user approved. | |
| subject | Yes | The subject line the user approved. | |
| application_id | Yes | The application, from getmattered_list_due_follow_ups or getmattered_get_applications. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | From getmattered_draft_follow_up: the drafted message. Nothing was sent. | |
| action | Yes | The operation that ran: list, history, draft, send or record_sent. | |
| history | Yes | From getmattered_list_sent_follow_ups: follow-ups already sent, newest first. | |
| recorded | Yes | From getmattered_send_follow_up or getmattered_record_follow_up: the follow-up count after it was recorded. | |
| followUps | Yes | From getmattered_list_due_follow_ups: applications whose follow-up is due, most urgent first. | |
| nextCursor | Yes | From getmattered_list_sent_follow_ups: pass as cursor for the next page. Null on the last page. | |
| notConfirmed | Yes | True when the user declined the confirmation and nothing was sent. |