Enviar un correo con constancia
createCorreo con su asunto y mensaje, addRecipient con la procedencia jurada, sendNotification. Un abogado confirma el envío en el panel.
Esta es la receta que el servidor MCP entrega a los asistentes de IA, tal cual. Está en inglés porque los modelos la siguen mejor así; el asistente le responde en su idioma.
Un asistente la lee con docs({uri:"docs://recipes/send-a-correo-con-constancia"})
docs://recipes/send-a-correo-con-constancia — prepare an email with constancia de entrega, with no court case, and request its send
Use when the lawyer wants a message delivered with proof of delivery and there is no proceso:
a payment demand, a contract notice, a requerimiento. Notifying a party of a providencia? Use
docs://recipes/send-an-article-8-notification instead.
You PREPARE; a signed-in lawyer SWEARS the recipients and CONFIRMS the send in the panel.
You can never send on your own: sendNotification over MCP only requests the send.
A correo is not an art. 8 notification: no statement is added to its words and no término is
computed. Its evidence is the same: frozen .eml, time stamps, chain, signed constancia, zip.
1. whoami({})
→ orgId, scopes every call below takes this orgId where it asks for one
scopes lack "notifications:write"? Stop: the token cannot prepare correos.
skip if you already hold orgId
2. manage_resource({resource:"notifications", action:"createCorreo", params:{orgId:"<orgId>", subject:"<subject>", body:"<body>"}})
→ notification.id status "draft", caseId null; nothing is sent, no credit is used
The subject and body are sent exactly as written. Ask the lawyer for them; do not invent them.
X_CORREO_MERGE_FIELD? The text names {radicado} or another field filled from a proceso:
write the words themselves instead.
To change the words later: action "updateCorreo", params {orgId, notificationId, subject, body}.
3. Optional: attach documents as steps 4 and 6 of docs://recipes/send-an-article-8-notification
do (kind "otro"). A correo may also be sent with no attachment.
4. Ask the lawyer to open https://www.notificado.co/notificaciones/<notification.id> and add each
recipient there. Adding a recipient is the lawyer's sworn statement about where the address
came from: you cannot do it for them, and there is no tool for it.
5. manage_resource({resource:"sends", action:"sendNotification", params:{orgId:"<orgId>", notificationId:"<notification.id>", confirm:true}})
→ status "awaiting_confirmation" with confirmUrl, or "awaiting_approval" with approvalUrl,
exactly as step 9 of docs://recipes/send-an-article-8-notification describes.
Give the lawyer the URL. Only once they confirm is the message frozen, stamped and emailed.
Done when you have handed the lawyer confirmUrl, or told the person their request waits on
approvalUrl. To follow up, use docs://recipes/check-a-notification-status.