Skip to content

Connect Gmail to WordPress

Your inbox is the place you already check every day, so it is a good place to hear about your blog. Connecting Gmail and WordPress emails you new drafts to review, lets you approve a post by replying, and sends a summary of what was added.

Build your own

Build any Gmail and WordPress automation you can describe

The ideas above are ready-made starting points, not a fixed list. Describe what should happen between Gmail and WordPress in your own words, with your conditions, other apps or an AI step, and your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

For example, ask your assistant

Only create drafts from emails sent from my own address with the subject starting "Post:".

When a reply says "publish", publish the draft; any other reply updates the draft text.

Use cases

Why people connect Gmail and WordPress

How the two apps work together

  • A check every few minutes reads Gmail for labelled emails or replies.
  • The script creates or updates WordPress posts through the REST API.
  • It sends drafts, digests or confirmations from your Gmail address.
  • Owners writing posts by email

    An email to yourself becomes a WordPress draft. Posting is easy.

  • Editors approving drafts

    Drafts are emailed and published on reply. Review is quick.

  • Site owners hearing about comments

    New comments are emailed in a digest. Moderation is easier.

  • Bloggers getting performance summaries

    A weekly email lists new posts. Progress is visible.

More apps

Gmail, WordPress and other apps in one automation

An automation isn't limited to two apps. Add the next step in another app and it runs as part of the same automation.

Post log

Log every post created from email to my Google Sheet.

Comment alerts

Email me a daily comment digest and post comments that mention "bug" to #support.

Polish drafts

Clean up my emailed drafts with OpenAI before creating the WordPress post.

Setup

Connect Gmail and WordPress once

Every idea on this page uses the same two connections, so you set them up once. If one is missing, your assistant tells you and links to the right place.

Gmail

Email

  1. At console.cloud.google.com, create a project and enable the Gmail API under APIs & Services → Library.
  2. Set up the OAuth consent screen. On Google Workspace choose Internal. On a personal Gmail account choose External, then under Audience click Publish app so it is In production, not Testing.
  3. Under Data Access, add the scopes you need, such as https://www.googleapis.com/auth/gmail.modify, or gmail.send if you only want to send.
  4. Under Clients, create an OAuth client of type Web application with the redirect URI https://clickruntime.com/oauth/callback.
  5. In the ClickRuntime dashboard, open Connections, choose Gmail and enter the client ID and secret. On a personal account Google shows an unverified-app screen: click Advanced, then go to your app.

WordPress

CMS

  1. In wp-admin, go to Users and open your profile, or the profile of the user the automation should act as.
  2. Scroll to Application Passwords, type a name such as ClickRuntime, and choose Add New Application Password.
  3. Copy the generated password straight away, along with the WordPress username it belongs to.
  4. In the ClickRuntime dashboard, save the username and Application Password as a secret on Connections & secrets, together with your site address.

FAQ

Questions about connecting Gmail and WordPress

Which address are the emails sent from?
Your own Gmail or Google Workspace address. Replies come back to your inbox as usual.
Can I approve a post by email?
Yes. The document automation emails you a draft link and publishes the post when you reply "approve" in the same thread.
Do I have to log in to WordPress to review?
Only to edit. Each email includes the draft's preview and edit links, so you can read it first and decide.
What does WordPress need?
An application password for a user with Author or Editor rights, saved as a secret in your ClickRuntime dashboard.
Can it upload images from attachments?
Yes. Attachments can be uploaded to the media library.
Can it moderate comments?
Yes. Comments can be approved or marked spam through the API.
Can it set tags from the email?
Yes. Tags can be read from a line in the email.

Tell your assistant what Gmail and WordPress should do together

Free plan. No credit card.