This module integrates with the Gmail API to allow Drupal to access and manage Gmail accounts. It provides functionality for connecting to Gmail and potentially interacting with emails and other Gmail features.
Steps for Gmail API Configuration:
composer require google/apiclient:^2.12.1- Go to the Google Developer Console.
- Create a new project. You can also select an existing project.
- Add a name to your project. Google Console will generate a unique Project ID for it.
- Your project will appear on top of the left sidebar.
- Click on Library. You will see a list of Google APIs.
- Enable Gmail API.
- Click on the Credentials. Select Oauth Client id under Create credentials. Choose the radio button for Web Application.
- Give the Name. In the ‘Authorized redirect URIs’ add the link of the redirect URL. and configure redirect URL http://your-domain-name.com/gmail-api/callback
- Click on the Create button. You will get a client ID and client secret in the pop-up. Copy these details. We will need it in a moment.
- Configure Google API credentials in Drupal Gmail API configuration page: http://your-domain-name.com/admin/config/system/gmail
Drupal 10–11
Ask your assistant about Gmail API
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.