tridz-dev / gmail_rest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gmail Rest

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.

Installation

To install the Email Rest application, follow these steps:

  1. Install Gmail Rest App bench get-app https://github.com/tridz-dev/gmail_rest.git
  2. Install App into your site bench --site [sitename] install-app gmail_rest

Configuration

To configure the email settings for Gmail Rest, follow these steps:

  1. Log in to Gmail Rest application.
  2. Go to the Email Credentials doctype.
  3. Fill in the required information: Service Provider: Select "gmail" as the service provider

Email Credentials

Get your google cloud credentials from https://console.cloud.google.com/apis/credentials

Fill in the required fileds as shown in images below

photo1684932247

  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

photo1684932184

Email Credentials (3)

  1. Add your email account.

    Screenshot from 2023-05-24 18-29-39

License

MIT

About

License:Other


Languages

Language:Python 84.0%Language:HTML 11.6%Language:JavaScript 4.5%