Resend icon

Resend

Send emails, manage contacts, create broadcasts, handle templates, domains, segments, topics, and webhooks using the Resend email platform

Email → List Attachments

AI-generated

Overview

This node operation lists the attachments of a specified sent email. It is useful for scenarios where you need to retrieve and manage the files attached to an email that was previously sent, such as for auditing, processing, or displaying attachment details.

Use Case Examples

  1. Retrieve all attachments from a specific sent email to display in a user interface.
  2. Limit the number of attachments returned for performance reasons when processing emails in bulk.

Properties

Name Meaning
Email The sent email whose attachments to list. This is required and can be selected from a list of emails or specified by ID.
Return All Whether to return all attachments or limit the number of results.
Limit The maximum number of attachment results to return when 'Return All' is false.

Output

JSON

  • id - The unique identifier of the attachment.
  • filename - The name of the attachment file.
  • contentType - The MIME type of the attachment.
  • size - The size of the attachment in bytes.
  • emailId - The ID of the email to which the attachment belongs.

Dependencies

  • An API key credential for the Resend email platform

Troubleshooting

  • Ensure the email ID provided is valid and corresponds to a sent email with attachments.
  • If no attachments are returned, verify that the email actually has attachments.
  • Check API key credentials and permissions if the node fails to authenticate or retrieve data.

Links

Discussion