Send thank-you email
Sends the thank-you email for one gift to the donor.
MCP tool donorperfect_write → send_thank_you_email
write Confirm
Uses Thank Donor > Send an Email on the gift record. It works for donors whose delivery preference is Email or Email and Letter; for any other donor it stops and reports the preference. Letters are merged in Word with Instant Merge and are not part of this tool. It returns the address the email went to. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| donor_id integer required | integer | Donor ID from search_donors. |
| gift_id integer required | integer | Gift ID from list_receipts_due or list_gifts. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "donorperfect_write",
"arguments": {
"operation": "send_thank_you_email",
"arguments": {
"donor_id": 1,
"gift_id": 1
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"gift_id": 90417,
"donor_id": 48213,
"to": "dana.whitfield@example.org",
"status": "sent"
},
"isError": false
}