Connect Gmail to X
Ideas
What you can do with Gmail and X
Approve X posts by replying to an email
Send a topic, get an X post draft by email, and reply "approve" to publish it.
See how it worksPost new articles to X and get an email copy
New articles from your blog or news feeds are summarised into X posts, and you get an email with what was posted.
See how it worksPost an hourly price update to X and your inbox
Every hour a short price update for the assets you follow is posted on X and emailed to you.
See how it worksGet a morning digest of competitors' X posts
Every morning one email sums up what your competitors posted on X in the last day.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with Gmail and X, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any Gmail and X automation you can describe
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 turn emails labelled "share" into X drafts, and skip any that contain the word "confidential".
If I do not reply to a draft within 24 hours, discard it and do not post.
Use cases
Why people connect Gmail and X
How the two apps work together
- A check every few minutes reads Gmail for labelled emails or approval replies.
- The script writes X posts with AI and sends drafts from your Gmail address.
- Approved posts are published to X and the link is emailed back.
Writers turning emails into posts
Newsletters and notes in Gmail are turned into X posts. Ideas already written get shared.
Owners approving posts by email
Drafts arrive by email and are posted after a reply. No need to log in to X.
Analysts sharing daily updates
A daily market or metrics email is turned into a short X post. Followers get regular updates.
Teams keeping a record
Each X post is emailed to a team inbox with the link. Everyone sees what went out.
More apps
Gmail, X and other apps in one automation
Approved posts log
Add every X post I approve by email to my Google Sheet with the date and link.
Blog posts to X with an email copy
When a new WordPress post goes live, post it on X and email me the post link.
Daily researched post
Each morning, research my topic with Perplexity, email me an X draft with the source, and post it when I reply "ok".
Setup
Connect Gmail and X once
Gmail
- At console.cloud.google.com, create a project and enable the Gmail API under APIs & Services → Library.
- 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.
- Under Data Access, add the scopes you need, such as
https://www.googleapis.com/auth/gmail.modify, orgmail.sendif you only want to send. - Under Clients, create an OAuth client of type Web application with the redirect URI
https://clickruntime.com/oauth/callback. - 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.
X
Social
- In the X Developer Console, create an app and buy credits.
- Under User authentication settings, choose OAuth 2.0 as a Web App (confidential) with the callback
https://clickruntime.com/oauth/callback. - Use the scopes
tweet.read,tweet.write,users.readandoffline.access, addingmedia.writefor images. - Enter the client ID and secret under Connections in the ClickRuntime dashboard. You can use an OAuth 1.0a consumer key and access token for your own account instead.
FAQ
Questions about connecting Gmail and X
Can I approve posts by replying to an email?
Can it read posts from other accounts?
Which address are emails sent from?
Do I need a paid X API plan?
Does it read emails from my whole inbox?
Can it post images from email attachments?
How many posts can it publish a day?
Related pages
Keep exploring
Tell your assistant what Gmail and X should do together
Free plan. No credit card.