Inbound emails is currently in private alpha and only available to a limited
number of users. APIs might change before GA. To use the methods on this page, you must upgrade your Resend Node SDK to
version resend@6.2.0-canary.3
or later. Join the waitlist .
Path Parameters
The ID for the inbound email.
Node.js
PHP
Python
Ruby
Go
Rust
Java
.NET
cURL
import { Resend } from 'resend' ;
const resend = new Resend ( 're_xxxxxxxxx' );
const { data , error } = await resend . emails . receiving . get (
'37e4414c-5e25-4dbc-a071-43552a4bd53b' ,
);
{
"object" : "email" ,
"id" : "4ef9a417-02e9-4d39-ad75-9611e0fcc33c" ,
"to" : [ "delivered@resend.dev" ],
"from" : "Acme <onboarding@resend.dev>" ,
"created_at" : "2023-04-03T22:13:42.674981+00:00" ,
"subject" : "Hello World" ,
"html" : "Congrats on sending your <strong>first email</strong>!" ,
"text" : null ,
"bcc" : [],
"cc" : [],
"reply_to" : [],
"message_id" : "<example+123>" ,
"attachments" : [
{
"id" : "2a0c9ce0-3112-4728-976e-47ddcd16a318" ,
"filename" : "avatar.png" ,
"content_type" : "image/png" ,
"content_disposition" : "inline" ,
"content_id" : "img001"
}
]
}