xxxxxxxxxx
{
"raw": "",
"snippet": ""
}
Send email
Gamil uses RFC 2822 formatted, base64url encoded string as a payload for sending email. To, From, Subject, CC, BCC, ReplyTo gets formatted as per RFC 2822 and gets converted to base64string
// RFC2822 payload format
From: Name<[email protected]>
To: [email protected]
Content-Type: text/html; charset=utf-8
MIME-Version: 1.0
Subject: =?utf-8?B?SGVsbG8=?=
<p>This is email</p>
You can send 100* email per day on free gmail account. You can send 1500 - 2000* email per day on Google workspace account.
More details https://developers.google.com/apps-script/guides/services/quotas
curl -X POST \
'https://api.lowcodeapi.com/gmail/v1/users/userId/messages/send' \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' --data-raw '{
"raw": "",
"snippet": ""
}'
Last Updated : 2024-12-16 14:03 +00:00