According to Google Plus, you can e-mail Google Plus users within your circle: refer this
Gmail API is available for free, but it has certain daily usage limits for API calls. Daily usage: 1 billion API calls per day. Per User Rate Limit: 250 API calls per user per second.
1,000,000,000 quota units per day for your application. 250 quota units per user per second, moving average (allows short bursts).
Send a message on behalf of someone else Before you send a message on behalf of another person, you must add their email address to the From field. Once you've entered the person's address, it shows automatically when you compose new messages. Recipients have that person's address in the message's From field.
You should follow the official Gmail API reference guide here.
From the docs:
There are two ways to send email using the Gmail API:
You can send it directly using the messages.send method.
You can send it from a draft, using the drafts.send method.
Emails are sent as base64url encoded strings within the
raw
property of a message resource. The high-level workflow to send an email is to:Create the email content in some convenient way and encode it as a base64url string. Create a new message resource and set its raw property to the base64url string you just created. Call
messages.send
, or, if sending a draft,drafts.send
to send the message.
The arguments you'll need to provide in order to send an email through the API are the following:
Args:
- service: Authorized Gmail API service instance.
- user_id: User's email address. The special value "me"
can be used to indicate the authenticated user.
- message: Message to be sent.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With