Skip to content

Gmail and Calendar

With Google connected, jobs can read what needs you in your email, add dates to a calendar of Clerko's own, and send replies you said yes to. Clerko reads only inside the limits you set (how many days back, which kinds of mail, senders to skip).

You connect with your own Google sign-in app, made once in Google Cloud. It's the same way Home Assistant does it, and it means your email goes only between Google and your computer. It takes about 10 minutes, once. Clerko's Connectors page walks you through it with links; these are the steps.

1. Make a project

At console.cloud.google.com/projectcreate, make a project called Clerko.

2. Turn on Gmail and Calendar

In APIs and services, Library, enable the Gmail API and the Google Calendar API.

3. Branding and audience

In Google Auth Platform, Branding, press Get started: app name Clerko, your own email for support and contact, audience External.

Then in Audience, press Publish app. While an app is in Testing, Google signs you out every 7 days.

4. Make the client

In Clients, Create client, type Web application. Under Authorised redirect URIs add:

https://clerko.co.uk/auth/return.html

Copy it from Clerko's Connectors page, which always shows the right one (during the preview it's https://dev.clerko.co.uk/auth/return.html).

5. Connect

Paste the client ID and secret in Clerko (Connectors, Google), or run clerko connectors google setup. Press Connect and sign in.

Google will say "Google hasn't verified this app". That's expected: it's your own app. Press Advanced, then Go to Clerko.

What Clerko asks Google for

Access Why
Read your email So jobs and chats can skim and read what needs you
Its own calendars and their events To add dates you said yes to. It can't see your other calendars.
Send email To send replies you said yes to, exactly as you saw them. It can't read with this.

It never deletes or changes your email.

If something goes wrong

  • redirect_uri_mismatch: the address in step 4 isn't exactly the one above. Fix it there and try again.
  • Access blocked: the app is still in Testing and you aren't a test user. Publish it (step 3).
  • Signed out after a week: the app is in Testing. Publish it.

The return page only passes Google's one-time code back to your Clerko, in your browser. The code is useless without a key that never leaves your computer.