Empower Your Gmail Inbox with Google Cloud Functions

Empower Your Gmail Inbox with Google Cloud Functions

1 hour 5 Credits


Google Cloud Self-Paced Labs


Billions of businesses and individuals use Gmail and other G Suite services to communicate and process data. Google offers G Suite APIs to help you access information in these services programmatically, and you can use the APIs to easily automate your daily workflow. In this lab, you build a powerful Gmail extension that automatically categorizes emails in incoming messages and saves those categories in a Google sheet. This extension uses G Suite's RESTful APIs, Cloud Functions, and other Google Cloud services.

What you'll do

In this lab, you build and deploy a few Cloud Functions connected to G Suite APIs and other Google Cloud services. These functions:

  • Authorize secure access to your Gmail and Google Sheets data

  • Extract images attached to any incoming mail

  • Categorize those images using the Cloud Vision API

  • Write those categories, the sender's address, and the name of the attachment to a Google Sheet

What you will learn

  • Basics of G Suite RESTful APIs

  • Basics of Cloud Functions and other Google Cloud services

  • How to access Gmail programmatically using Cloud Functions

Learning recommendation

A basic knowledge of Javascript/Node.js is recommended to maximize your learning.

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Google Cloud Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab