Every 10 minutes
Forward Reddit inbox messages and replies to Gmail
New Reddit private messages, comment replies and username mentions are emailed to you from Gmail with a link back to the thread.
- Runs
- Every 10 minutes
- Apps
- Gmail, Reddit
- AI
- Not needed
- Access
- Reddit privatemessages, identity; Gmail send
Send this to your assistant
Create a ClickRuntime automation: every 10 minutes, check my Reddit inbox for unread messages, comment replies and mentions, and email each one to me from my Gmail with the sender, subreddit and link.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Reddit's own notifications are easy to miss. If you run a brand account, answer support questions in a subreddit or moderate a community, a reply that sits for two days looks like you stopped caring.
This forwards each new item in your Reddit inbox to your email, using your own Gmail account to send it. Each email says who wrote it, where, and links straight to the comment in context.
It suits founders who post on Reddit now and then and do not keep the app open, and teams who want Reddit replies to land in the same inbox as other customer questions.
What you get out of it
Replies land where you already work
Email is open all day for most people, the Reddit inbox is not. Forwarding means a question under your post gets seen in the same place as any other customer message.
Mentions are not lost
When someone tags your username in a thread you never visited, Reddit only shows it in the inbox. The email puts that mention in front of you with the subreddit name in the subject line.
Searchable history
Every forwarded item stays in your mail archive. Months later you can search for a username or product name and find the thread without scrolling Reddit's inbox.
Shared handling for teams
Sending the emails to a team inbox lets whoever is on duty answer the Reddit reply. Nobody needs to share the Reddit login just to keep an eye on it.
Nothing changes on Reddit
The automation only reads. It does not mark items as read, reply or delete anything, so your Reddit account behaves exactly as before.
How it works
What happens, step by step
Every 10 minutes ClickRuntime reads the unread items in your Reddit inbox.
It skips anything it has already forwarded.
Each new message, reply or mention is sent to your email address from your Gmail, with who wrote it and a link to the thread.
Your Reddit inbox is left as it is, so items stay unread until you open them.
Before it runs live
- Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
- Connect Reddit
What you get
Build your own
Need it to work differently?
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.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Gmail and Reddit steps into one automation
Under the hood
The code that runs this automation
import base64
from email.message import EmailMessage
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http, state, report_fetched
ME = "me@example.com"
def reddit_unread():
headers = {"Authorization": "Bearer " + credentials.connection("reddit", "main"), "User-Agent": "clickruntime/1.0"}
r = http.get("https://oauth.reddit.com/message/unread", headers=headers, params={"limit": 50})
return [c["data"] for c in r.json()["data"]["children"]]
def send_email(subject, text):
msg = EmailMessage()
msg["To"], msg["Subject"] = ME, subject
msg.set_content(text)
gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
gmail.users().messages().send(userId="me", body={"raw": base64.urlsafe_b64encode(msg.as_bytes()).decode()}).execute()
@on_trigger
def run(event):
seen = state.get("seen") or []
items = [m for m in reddit_unread() if m["name"] not in seen]
report_fetched(len(items))
for m in reversed(items):
if m.get("was_comment"):
kind = "mentioned you" if m["subject"] == "username mention" else "replied to you"
subject = f"Reddit: u/{m['author']} {kind} in r/{m['subreddit']}"
link = f"https://reddit.com{m['context']}"
else:
subject = f"Reddit message from u/{m['author']}: {m['subject']}"
link = "https://www.reddit.com/message/messages/" + m["id"]
send_email(subject, f"{m['body']}\n\nOpen it: {link}")
state.set("seen", (seen + [m["name"] for m in items])[-1000:])
return {"forwarded": len(items)}FAQ
Common questions
Does it mark the messages as read on Reddit?
Can I send them to a shared inbox instead of my own?
Will it include chat messages?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Email yourself a weekly report on your Reddit posts
Every Monday a Gmail email lists the posts you submitted to Reddit in the last 30 days with their score, upvote ratio, comment count and change since last week.
See how it worksEmail yourself business ideas found on Reddit
Each morning you get an email with the problems people described on Reddit that could be worth building a product for.
See how it worksGet daily social post drafts from Reddit trends
Each morning you get an email with today's trending Reddit topics in your niche and a ready-to-edit social post for each.
See how it worksKeep exploring
Set up “Forward Reddit inbox messages and replies to Gmail” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.