
On the next screen you can download the credentials in a json formatted file.On the next screen select "Desktop app" the name can be left on the default value.On the following page select the scopes of the API you want to use (it's optional).Select a name for your App enter user support and developer email address (can all be the same and identical to the account email you are using).Choose Gmail as API, select user data and go to the next screen.Click on create credentials in the following screen:.Enable the Gmail API by clicking on enable.Activate the API for the created project by clicking on enable APIs and services or API library.If you are using the Google Drive integration, some steps can be skipped and you can use the same oauth key for Gmail and G-Drive Go to the Google Developer Console and create a new app. Make sure to have installed google-auth-oauthlib and google-api-python-client from the optional-requirements.txt file. The admin user has per default no Kindle-Email address entered, please enter a valid receiving E-Mail address into the corresponding field (admin section user admin, user's own profile settings page). If not you can change the loglevel to DEBUG and take a deeper look in the communication-packets and error messages exchanged (logfile calibre-web.log in the root folder of your installation for a manual installed Calibre-Web or in ~/.calibre-web if installed via pip). Please check afterwards in the task section if the e-mail could be send successfully.

In the from e-mail please enter whatever you want to be shown in the "from field" on the receiver side (Some servers seem to be a bt pitty about what is entered here, you plain email-address should always work).Īfter finishing the settings you can check if the configuration is correct by hitting "Save setings and send Test E-Mail". SMTP login and SMTP password are the credentials you are using for sending e-mails. For correct setting of Port and Encryption, please look at the manual of your mail provider. SMTP hostname is the mail-sending server, normally something like. If you have installed google-auth-oauthlib and google-api-python-client you can choose to use a FG address for sending emails without having enabled "less secure apps" The corresponding settings are found in the admin section "Edit E-mail Server Settings".\ For sending E-Mails to your Kindle, Pocketbook, Smartphone or Tablet you need to setup a e-mailserver in Calibre-Web.
