How to send a recording URL as an attachment to the gmail

Hello guys,
I have a requirement for :freshcaller: that is to send a recording file that is recorded during the call to the email(eg: Gmail) as an attachment. In the response, I’m getting the recording URL which is expirable. How can I send this recording URL to email as an attachment?


You can try loading the recording url to buffer using any nodeJS request library ( Eg> request, axios ) and send it as attachment as described in Sending Email with Attachments using SendGrid and Node.js - Twilio
Let us know if you are facing any issues. A sample snippet will also help us to debug further.

Hi @ManiDeepak_Vandrangi,
Thanks for your response. This is resolved by converting recording URL to a buffer and using nodemailer I sent the recording as an attachment