Receiving emails are currently in private beta 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 SDK: Node.js
PHP
Python
Ruby
Go
Rust
Java
.NET
npm  install  resend@6.4.0-canary.0 
Join the waitlist  if you’re interested in testing
this feature.Path Parameters The ID for the received 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 ,   "headers" : {     "return-path" :  "lucas.costa@resend.com" ,     "mime-version" :  "1.0"   },   "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"     }   ] }