Gmail Rest is a Frappe application that allows you to send and receive emails using REST APIs instead of the default Frappe email account setup. This README file provides instructions on how to install and configure the application.
To install the Email Rest application, follow these steps:
- Install Gmail Rest App
bench get-app https://github.com/tridz-dev/gmail_rest.git
- Install App into your site
bench --site [sitename] install-app gmail_rest
To configure the email settings for Gmail Rest, follow these steps:
- Log in to Gmail Rest application.
- Go to the Email Credentials doctype.
- Fill in the required information: Service Provider: Select "gmail" as the service provider
Get your google cloud credentials from https://console.cloud.google.com/apis/credentials
Fill in the required fileds as shown in images below
Javascript Origin is your base_url. eg: helpdesk.frappe.cloud
Redirect uri is https://{your_base_url}/api//method/email_rest.email_rest.email.gmail.oauth.oauth2callback
MIT