Resend email from log is a WordPress ability from SureMail — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Resend email from log

Write
SureMail Email & CRM suremails/resend-email

Re-sends previously logged emails to their original recipients using the stored subject, body, and attachments.

Requires the SureMail plugin installed on WordPress 6.9+ (for Abilities API support). Every ability also requires the current user to have the 'manage_options' capability. Abilities that create, modify, resend, or delete data are additionally gated behind separate site options: the destructive abilities (delete-connection, delete-email-logs) require the 'suremails_abilities_api_delete' option to be enabled, and the write abilities (add-connection, update-connection, send-test-email, resend-email, update-settings) require the 'suremails_abilities_api_edit' option to be enabled.

What it does

This ability re-delivers one or more logged emails to their original recipients using the exact subject, body, headers, and attachments that were stored, updating each log entry with the new send result. It sends real emails — this is not a preview. Each log ID is processed independently, so some resends in a batch can succeed while others fail. An AI assistant should confirm the subject and recipient with the user before resending, since repeated calls will re-deliver the same message again.

See it in action

You ask your AI assistant

"Resend the failed email from log 4521 to see if it goes through now."

Inputs

Name Type Required Description
log_ids array Yes Array of email log IDs to resend. Obtain IDs from list-email-logs.

Returns

An object with a results array, one entry per log ID, each containing log_id, success (boolean), and a result/error message.

Permission

Requires the 'suremails_abilities_api_edit' site option to be enabled, and the current user must have the 'manage_options' capability.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.