- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
This plugin has only one use and one action: it sends emails using the Google Gmail account.
The plugin uses OAuth authorization, so you do not need to save the credentials in open form anywhere !
This plugin requires the user to have an account on Google Developers !!!
A. Getting the client_secret.json file (it may be common to multiple instances of the Gmail plugin)
A.1 Use this wizard to create or select a project in the Google Developers Console and automatically turn on the API. Click Continue, then Go to credentials
A.2 On the Add credentials to your project page, click the Cancel button
A.3 At the top of the page, select the OAuth consent screen tab. Select an Email address, enter a Product name if not already set, and click the Save button
A.4 Select the Credentials tab, click the Create credentials button and select OAuth client ID
A.5 Select the application type Other, enter the name "Gmail API Quickstart", and click the Create button
A.6 Click OK to dismiss the resulting dialog
A.7 Click the file_download (Download JSON) button to the right of the client ID
A.8 Move this file to your "Credentials Folder" and rename it client_secret.json
A.9 If you want to have multiple instances of the Gmail plugin for multiple Gmail accounts, copy the client_secret.json file to all "Credentials Folders"
B. Gmail plugin settings
B.1 Add the Gmail plugin to EventGhost
B.2 In the main configuration dialog, set the path to the "Credentials Folder"
B.3 Prefix setting is optional. This is especially important if you have multiple instances of the Gmail plugin for multiple Gmail accounts
B.4 Press the OK button to close the configuration dialog
B.5 If the client_secret.json file is in the "Credentials Folder", your default internet browser opens
B.6 Choose the appropriate Gmail account and allow email to be sent using the Gmail plugin
All the files you need are on my GitHub.