Forum Academy Marketplace Showcase Pricing Features

[PLUGIN] - Gmail API | Read, Receive and Send Emails

Hello everyone, this plugin is a full Gmail-API solution for everyone needing a Google implementaiton in their app.

Some plugin features:

  • Read list of emails
  • Read single email (by ID)
  • Send email
  • Send email with attachment
  • Send email to trash

Of course the User’s Gmail email and account ID is retrieved and can be used in ‘Login with a Social Network’

For a demo please visit: Demo

For documentation please visit: Docs

Please reply to this for any question or inquiry you mau have! Also I can help you with implementation into your app!


Does it work with alias?

Yes! It is connected with your Gmail account and any linked aliases you may have.
However sending emails with alias is not implemented.
Try the demo and see if it works for you!

1 Like

Thanks :blush: will give it a try.

1 Like

Gmail API - Update 1.4.1

New and exciting stuff for the plugin:

  • Get account alias
  • Send emails with alias from you account
  • Get full threads by ID
  • List labels from inbox
  • Create new labels (text color an background color included!)
  • Render email into full HTML (see demo to understand how)

Be sure to update your plugin and check out the demo to see how to implement it


Gmail - API - Update 1.6.0

This update removes the built-in Oauth implementation from Bubble. Instead the access token & refresh token is implemented. Never get disconnected again from Google Services!

New features:

  • Gmail Element
  • Automatic Catch Token
  • Automatic Exchange Token
  • Access Token
  • Refresh Token

With Gmail Element, user profile retrieve is more easy than ever.
Gmail Element is also responsible to catch and refresh tokens.


Step 1 . Add the Gmail element into your Editor. Set any element to be your ‘click to login’ and set the action ‘Oauth Login’ from Gmail element
Screen Shot 2021-10-11 at 2.23.11 PM

Step 2. Add the Event called ‘Gmail has valid response’.

  • Create an account for someone else (check the return user if exists box)
  • Set the User’s data with the returned values from the Gmail Element
  • Assing a temp password to user from step 1
  • Log the user in. Email: Result from step 1, password: result from step 3

Step 3. Now everytime you’re running an action that requires verification you should do this two things.

  1. All calls contain ‘access_token’ so you should place the current user’s access_token
  2. Always run a verification for expired tokens when your user is logged in. If token is expired, refresh token and change Current User’s access_token

1 Like