Email a candidate
Send an email to one candidate through Homerun.
POST https://cotlet.dev/api/v1/homerun/jobs/{job_id}/candidates/{candidate_id}/email
write Confirm
Sends the email at once. It shows in the candidate's Activity and message modal, and a reply from the candidate lands there too. A sent email cannot be unsent. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| job_id string required | string | Job ID from list_jobs. |
| candidate_id string required | string | Candidate ID from list_candidates. |
| body string required | string | The email text. |
Request
curl -X POST https://cotlet.dev/api/v1/homerun/jobs/job_3b7e91/candidates/ap_K2mP7rS1uW5yA9bC3dE6/email \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"Hi Priya, thanks for applying. Your onboarding project at Northwind is exactly what this role is about. We decide on interviews by Friday and I will write to you then."}' result = client.call("homerun", "send_candidate_email", {"job_id":"job_3b7e91","candidate_id":"ap_K2mP7rS1uW5yA9bC3dE6","body":"Hi Priya, thanks for applying. Your onboarding project at Northwind is exactly what this role is about. We decide on interviews by Friday and I will write to you then."}) const result = await cotlet.call('homerun', 'send_candidate_email', {"job_id":"job_3b7e91","candidate_id":"ap_K2mP7rS1uW5yA9bC3dE6","body":"Hi Priya, thanks for applying. Your onboarding project at Northwind is exactly what this role is about. We decide on interviews by Friday and I will write to you then."}); cotlet call homerun send_candidate_email --data '{"job_id":"job_3b7e91","candidate_id":"ap_K2mP7rS1uW5yA9bC3dE6","body":"Hi Priya, thanks for applying. Your onboarding project at Northwind is exactly what this role is about. We decide on interviews by Friday and I will write to you then."}' Example response
{
"candidate_id": "ap_K2mP7rS1uW5yA9bC3dE6",
"status": "sent",
"sent_at": "2026-10-22T09:12:00Z"
}