tr Skip to content

Connect WordPress and Gmail

Send email about your WordPress site from a real Gmail inbox. FlowMattic listens for users, posts, comments and role changes, then sends a message or saves a draft through your Gmail account, so replies come back to a mailbox someone reads instead of a no-reply address.

32 triggers 89 actions 6 example workflows 1 ready-made template Unlimited runs

Try a pairing

When this happens in WordPress32 triggers

Do this in Gmail18 actions

1. TriggerNew User
2. ActionSend Email

When WordPress fires New User, FlowMattic runs Send Email in Gmail with the data from that event.

You build this in the FlowMattic workflow builder on your own site. See the setup steps

WordPress and Gmail workflows you can build

Each one uses only triggers and actions the two integrations ship today, plus FlowMattic's own tools. Where the library has a ready-made template, import it instead of building from scratch.

WordPress app icon Gmail app icon Ready-made template

Email a daily round-up of the latest posts

Each morning a Schedule fetches your recent posts and Gmail sends the list to your team or a small subscriber group, with no newsletter tool to manage.

ScheduleGet Posts by Post TypeSend Email

View the template
WordPress app icon Gmail app icon

Welcome each new member from your own Gmail address

Membership sites and communities send a personal hello signed by a real person. When the new user replies, the answer is in your Gmail inbox.

New UserSend Email

WordPress app icon Gmail app icon

Alert the site owner when a user's role changes

A user moved to Administrator or Editor is worth knowing about. The owner gets an email naming the user and the role they now have.

User Role ChangedSend Email

WordPress app icon Gmail app icon

Save a Gmail draft reply for each new comment

Bloggers who like to answer readers by email find a draft waiting in Gmail, addressed to the commenter and quoting their comment, ready to edit and send.

New CommentCreate Draft

WordPress app icon Gmail app icon

Tell authors by email when their post is published

On multi-author sites the editor publishes, and the author hears about it. Get User by ID finds the author's email from the post before Gmail sends the link.

New PostGet User by IDSend Email

WordPress app icon Gmail app icon

Get an email when an administrator logs in

User Login fires for everyone, so a Filter lets through only administrator accounts. Owners of client sites get a record of each admin sign-in in their inbox.

User LoginFilterSend Email

Set up: a daily round-up of posts

At the end, Gmail sends a list of your latest posts at the same time every day.

  1. Connect Gmail

    Open Connects and add a Gmail connection with the Google account the round-up should come from.

  2. Add a Schedule

    Create a workflow that starts with Schedule and set it to run once a day at the hour you want.

  3. Fetch the posts

    Add WordPress Get Posts by Post Type, choose Posts and the number to fetch, and test the step to see the titles and links.

  4. Send the email

    Add Gmail Send Email, enter the recipients, put the post titles and links in the body, test it and switch the workflow on.

Import the ready-made template Intermediate, about 5 min to set up
Email a daily round-up of the latest posts Template
  1. 1. Trigger Schedule
  2. WordPress app icon 2. Action in WordPress Get Posts by Post Type
  3. Gmail app icon 3. Action in Gmail Send Email

    Fields mapped from the earlier steps (a typical setup)

    From WordPressTo Gmail
    Post titleLine in the email body
    PermalinkLink under each title
    Post dateDate shown in the body
Built on the FlowMattic canvas. Test each step with real data, then switch the workflow on.

Triggers and actions in this pair

A trigger starts a workflow. An action is something FlowMattic does in the app as a step.

Good to know

  • Gmail has no triggers in FlowMattic, so it cannot start a workflow when mail arrives. Every workflow here starts from WordPress or a Schedule.
  • Find Email and Find Multiple Emails can search the inbox during a run, for example to check whether you already wrote to someone before sending again.
  • Messages go out from the Gmail account you connect, so use a shared team inbox if several people should see the replies.
  • Get Posts by Post Type returns recent posts whether or not they were in yesterday's email. Keep the number small, or add a Filter on the post date.
WordPress app icon

WordPress

Integration page

Triggers (32)

  • New UserTriggers when a new user is registered
  • New PostTriggers when a new post is published
  • New PageTriggers when a new page is published
  • New MediaTriggers when a new media is uploaded
  • New CommentTriggers when a new comment is added
  • Comment ApprovedTriggers when a comment is approved
  • Update PostTriggers when a published post is updated
  • Update PageTriggers when a published page is updated
  • User LoginTriggers when an user logs into the site
  • User Visits a Page/PostTriggers when an user visit page, post or any post type singular page
  • User Deletes a PostTriggers when an user delete post of any post type
  • Post Meta UpdatedTriggers when post meta is updated
  • Post Meta Field UpdatedTriggers when post meta specific field is updated
  • User Profile UpdatedTriggers when user profile is updated
  • User Profile Field UpdatedTriggers when user profile specific field is updated
  • User Resets PasswordTriggers when user resets the password
  • User DeletedTriggers when user is deleted from the database
  • Category CreatedTriggers when a new category is created
  • Tag CreatedTriggers when a new tag is created
  • Term CreatedTriggers when a new term is created
  • User Role AddedTriggers when a new role is added to user
  • User Role RemovedTriggers when a role is removed from user
  • User Role ChangedTriggers when user role is changed
  • User Role Changed From Specific to DefinedTriggers when user role is changed from specific role to defined role
  • GDPR Export Data Request ConfirmedTriggers when user confirms request to export their personal data
  • GDPR Erase Data Request ConfirmedTriggers when user confirms request to erase their personal data
  • Plugin ActivatedTriggers when a plugin is activated
  • Plugin DeactivatedTriggers when a plugin is deactivated
  • Plugin UpdatedTriggers once for each plugin that is updated
  • Plugin DeletedTriggers when a plugin is deleted
  • Theme SwitchedTriggers when the active theme is changed
  • WordPress Core UpdatedTriggers when WordPress itself is updated

Actions (71)

  • New UserCreate a new user
  • Update UserUpdate an existing user details
  • Update User MetaUpdate User Metadata
  • Add Role to UserAdd role to existing user roles of an user
  • Change User RoleChange user role of an existing user and set new role
  • Remove User RoleRemove user role of an existing user
  • Delete UserDelete user account from site
  • New MediaCreate a new media
  • Rename MediaRename media title in media library
  • Delete MediaDelete media by ID from the media library
  • Search Media by TitleSearch media by title in media library
  • New PostCreate a new post
  • Update PostUpdate existing post of any post type with custom fields
  • Get User by IDGet an user profile by ID
  • Get User by EmailGet an user profile by Email
  • Create CategoryCreate a new category
  • Create TagCreate a new post tag
  • Create RoleCreate a new user role, if not exists
  • New CommentCreate a new comment on post
  • Get Post MetadataRetrieve all or custom metadata from any post
  • Get User MetadataRetrieve all or custom metadata from any user
  • Get Posts by Post TypeRetrieve all posts of specific post type
  • Get Post TaxonomiesRetrieve all taxonomies of a post
  • Get Post Taxonomy TermsRetrieves the terms of the taxonomy that are attached to the post
  • Get Post by IDRetrieve the post details by ID
  • Get Posts by MetadataRetrieve all posts of specific post type by metadata or custom fields
  • Get Taxonomy by NameRetrieve the taxonomy details by name
  • Get All Users by RoleRetrieve all users by user role
  • Add Tag to PostAdd a tag to the post
  • Remove Tag from PostRemove a tag from post
  • Add Category to PostAdd a category to post
  • Remove Category from PostRemove a category from post
  • Check Plugin ActiveCheck if a plugin is active
  • Activate PluginActivate a plugin if not already active
  • Update CategoryUpdate an existing category details
  • Update TagUpdate an existing tag details
  • Update TermUpdate an existing term details
  • GDPR Request Export Personal DataCreate a request to export user personal data (sends confirmation email)
  • GDPR Request Erase Personal DataCreate a request to erase user personal data (sends confirmation email)
  • GDPR Execute Export Personal DataExecute export of personal data using request ID from trigger
  • GDPR Execute Erase Personal DataExecute erasure of personal data using request ID from trigger
  • Create Media FolderCreate a new folder in the uploads directory
  • Rename Media File URLRename the actual file name and URL of a media item
  • Move Media to FolderMove a media file to a different folder in the uploads directory
  • Delete Post MetaDelete a specific meta key from a post
  • Update Post MetaUpdate a specific post meta key with a new value
  • Add Post MetaAdd a new meta key and value to a post
  • Delete User MetaDelete a specific meta key from a user
  • Update CommentUpdate an existing comment
  • Delete CommentDelete a comment by ID
  • Get CommentsRetrieve comments by post ID, user, or status
  • Set Post StatusChange the status of a post
  • Set Post ThumbnailSet the featured image of a post
  • Remove Post ThumbnailRemove the featured image from a post
  • Duplicate PostClone a post with its meta and taxonomies
  • Delete TermDelete a term from any taxonomy
  • Delete CategoryDelete a category by ID
  • Delete TagDelete a tag by ID
  • Get OptionRetrieve a WordPress option value
  • Update OptionUpdate a WordPress option value
  • Get Users by MetaRetrieve users by a specific meta key and value
  • Send Password ResetSend a password reset email to a user
  • Search WordPressSearch posts, users, post meta, user meta, taxonomy terms, options or comments. Never fails on a miss — always returns found or not_found
  • Create User if Not ExistsCreate a user only when a matching one does not exist. Always reports whether the user was created or already existed
  • Get User by UsernameGet an user profile by username (user_login)
  • Delete PostDelete post by ID from the site
  • Upload Base64 ImageUpload a base64 encoded image to the WordPress Media Library
  • Add Taxonomy to PostAdd a taxonomy to post
  • Remove Taxonomy from PostRemove a taxonomy from post
  • Create TermCreate a new taxonomy term
  • Get Media by IDRetrieve the media details by ID

Actions (18)

  • Send EmailSend an email to the recipient
  • Send Template EmailSend an email using the FlowMattic email template
  • Find EmailFind an email in Gmail
  • Find Multiple EmailsFind multiple emails in Gmail
  • Mark Email as ReadMarks the email as read by the thread ID
  • Get Email DetailsGet the details of specific email from Gmail
  • Reply to EmailReply to the email
  • Create DraftCreate a draft of the email
  • Send DraftSend the draft of the email
  • Delete DraftDelete the draft of the email
  • Create Draft ReplyCreate a draft reply of the email
  • Send Draft ReplySend the draft reply of the email
  • Delete Draft ReplyDelete the draft reply of the email
  • List All LabelsList all labels in Gmail
  • Create LabelCreate a label in Gmail
  • Delete LabelDelete a label in Gmail
  • Add Label to EmailAdd a label to the email
  • Remove Label from EmailRemove a label from the email

Why run this pair with FlowMattic

WordPress and Gmail connect through FlowMattic on your own site, with no separate automation account in the middle and no charge per run.

Mail from a real inbox

Messages come from your Gmail address and appear in its Sent folder, so the conversation history lives where your team already works.

Built on the site it reports on

FlowMattic runs inside your WordPress install, so it reads users, roles and posts directly and sends only the email to Google.

Send as many as you need

There is no task count, so a login alert for every admin sign-in costs the same as a weekly digest.

Common questions

How does the WordPress Gmail integration work in FlowMattic?

You connect a Gmail account once, then build workflows that start from a WordPress event such as New User or New Post and end with a Gmail action such as Send Email or Create Draft. It runs on your own site with no code.

Is this the same as sending WordPress system email through Gmail?

No. These workflows send their own messages through Gmail. WordPress password resets and plugin notifications keep using whatever mail setup your site has today.

Can I review an email before it goes out?

Yes. Use Create Draft instead of Send Email. The message waits in Gmail's Drafts folder until you open it, edit it and press send yourself.

Can Gmail organise the emails it sends?

Gmail actions include Create Label and Add Label to Email, so a later step can label a message by topic. Labels make it easy to find every welcome note or alert in one view.

Can I email users with a specific role?

Yes. On a Schedule, run Get All Users by Role, loop over the results with Iterator and send each user a Gmail message. Keep the list small, since this is personal email rather than a newsletter tool.

Did not find your answer? You can browse the help center or ask us directly.

Start automating WordPress and Gmail

Install FlowMattic, connect both accounts and import a template. Every run stays on your own server.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Reviewed 23 Oct 2026. The example workflows are written with AI from the real triggers and actions of both integrations and checked against them. WordPress integration 7.3.0, Gmail integration 1.2.0.