resend / action / schema v1
Retrieve a single email
Retrieve a single email
Prerequisites
- Add the resend plugin inside this workflow.
Parameters
| Parameter | Type | Description |
|---|---|---|
Bearer Tokentoken | text Required | Your Resend API key |
Email Idemail_id | text Required |
Inputs and outputs
Inputs
execute- Execute (input)
Outputs
done- Done (output)object- The type of object. (output)id- The ID of the email. (output)message_id- The Message-ID header value of the email. (output)to- To (output)from- The email address of the sender. (output)created_at- The date and time the email was created. (output)subject- The subject line of the email. (output)html- The HTML body of the email. (output)text- The plain text body of the email. (output)bcc- The email addresses of the blind carbon copy recipients. (output)cc- The email addresses of the carbon copy recipients. (output)reply_to- The email addresses to which replies should be sent. (output)last_event- The status of the email. (output)error- Error (output)
Output data schema
[
{
"key": "object",
"type": "string",
"description": "The type of object.",
"label": "The type of object.",
"optional": true
},
{
"key": "id",
"type": "string",
"description": "The ID of the email.",
"label": "The ID of the email.",
"optional": true
},
{
"key": "message_id",
"type": "string",
"description": "The Message-ID header value of the email.",
"label": "The Message-ID header value of the email.",
"optional": true
},
{
"key": "to",
"type": "array",
"optional": true,
"items": {
"key": "item",
"type": "string",
"description": "The email addresses of the recipients.",
"label": "The email addresses of the recipients."
}
},
{
"key": "from",
"type": "string",
"description": "The email address of the sender.",
"label": "The email address of the sender.",
"optional": true
},
{
"key": "created_at",
"type": "string",
"description": "The date and time the email was created.",
"label": "The date and time the email was created.",
"optional": true
},
{
"key": "subject",
"type": "string",
"description": "The subject line of the email.",
"label": "The subject line of the email.",
"optional": true
},
{
"key": "html",
"type": "string",
"description": "The HTML body of the email.",
"label": "The HTML body of the email.",
"optional": true
},
{
"key": "text",
"type": "string",
"description": "The plain text body of the email.",
"label": "The plain text body of the email.",
"optional": true
},
{
"key": "bcc",
"type": "array",
"description": "The email addresses of the blind carbon copy recipients.",
"label": "The email addresses of the blind carbon copy recipients.",
"optional": true,
"items": {
"key": "item",
"type": "string"
}
},
{
"key": "cc",
"type": "array",
"description": "The email addresses of the carbon copy recipients.",
"label": "The email addresses of the carbon copy recipients.",
"optional": true,
"items": {
"key": "item",
"type": "string"
}
},
{
"key": "reply_to",
"type": "array",
"description": "The email addresses to which replies should be sent.",
"label": "The email addresses to which replies should be sent.",
"optional": true,
"items": {
"key": "item",
"type": "string"
}
},
{
"key": "last_event",
"type": "any",
"description": "The status of the email.",
"label": "The status of the email.",
"optional": true
}
]Examples and troubleshooting have not yet been reviewed for this contract.
Version and compatibility
This reference follows the current authoring contract. Existing workflows retain their saved node revisions.
Contract identifier
2e9e54ec07c01ae03456ddbed9d31c192060b6c0bbf09f659bd5ff0d427d7630