Skip to main content

Replies by email

What it does​

Customers can answer your emails from their own mail program, and their answers land in the submission's Conversation tab. With this on, every email WebForms sends about a submission carries its own reply address. WebForms reads the replies from a mailbox and files each one under the right submission. You set it up in Stores → Configuration → MageMe Extensions → WebForms, under Email & Replies → Inbound Replies.

Before you start​

  • A mailbox that receives your reply addresses. Each submission gets its own address, built from a pattern. Use a mailbox that accepts plus addresses, such as support+…@yourstore.example, or a domain that's only for replies, such as …@reply.yourstore.example. For a reply domain, have whoever runs your email route it to the mailbox first. Use a mailbox only for these replies, opened only by the people who handle submissions.
  • The mailbox's sign-in details: its mail server and port, a user name and a password. Where your provider offers app passwords or OAuth 2.0, prefer them to the mailbox's main password. For Google or Microsoft mailboxes you can sign in with OAuth 2.0 instead, using an application you registered with them.
  • Magento's scheduled tasks (cron) are running. They check the mailbox.
  • Deliver Notifications is Yes. See How email delivery works.

Steps​

  1. Go to Stores → Configuration → MageMe Extensions → WebForms.
  2. Expand Email & Replies, then Inbound Replies.
  3. In Collect Replies by Email, select Yes.
  4. In Collect Replies From, select Mailbox (IMAP).
  5. In Reply Address Pattern, enter your reply address with %token% where the submission's code goes, for example support+%token%@yourstore.example. Type %token% exactly like that: WebForms puts each submission's own code in its place.
  6. Under Mailbox (IMAP), enter the Mail Server and the Port. In Encryption, select SSL/TLS or STARTTLS, as your mail provider says.
  7. In Sign In With, select Password or App Password. Enter the Mailbox User Name and the Mailbox Password.
  8. In Folder to Read, keep INBOX unless replies arrive in another folder. If processed mail should move elsewhere, enter that folder in Move Processed Mail To.
  9. Click Save Config.
  10. Under Folders and Testing, click Run Test. WebForms sends a real email from your store's General Contact address to a test reply address, then waits for it to arrive in the mailbox. The result shows next to the button.

If you sign in with OAuth 2.0, select the Mail Provider, enter the Application Client ID and Application Client Secret, and click Save Config. OAuth Connection shows the address to register in your application, with a Copy button. Then click Connect Mailbox.

If your provider pushes mail to a web address instead, select Provider Webhook in step 4. Mailgun is the only provider offered. Give Mailgun the address under Webhook Address, and enter its signing secret in Webhook Signing Secret.

What you should see​

The Status line at the top of Inbound Replies names the mailbox and when it was last checked. It also counts the replies filed recently. While the feature is off, it says "Inbound replies are off".

When a customer answers one of your emails, the answer appears in the submission's Conversation tab with the badge Received by Email. The submission becomes unread again. If the form has a switched-on Customer Replied notification, it's sent. Otherwise WebForms sends its own alert to the Alert Addresses of Reply Messages, or to your General Contact address when that's empty. If the form sets a Status After Customer Reply in its Status & Approval section, the submission moves to that status. See Notification triggers.

A member of your team can answer an email WebForms sent them, from their mail program. Every email to your team goes to one To address: with several addresses, each gets its own email. For a notification, that address must belong to an admin user: the answer is filed as a staff reply and sent on to the customer when it comes from that person's admin email address. The alert about a customer's reply can also go to a shared team mailbox: then any admin user's address or one of the Alert Addresses counts. A notification to an address without an admin account keeps the notification's own reply address. An answer from any other address is filed as the customer's.

Limits​

  • Only mail that arrives after the first connection is collected. Changing the folder or the account counts as a new mailbox.
  • A reply is filed when it's sent to the submission's reply address, or when it quotes an email WebForms sent. WebForms never matches by subject. A reply from an address that doesn't belong to the submission is filed with the badge Sender Mismatch. Treat it as unverified: don't share the customer's details or change an order until you've confirmed who sent it.
  • Out-of-office answers, bounces and very large messages aren't filed. Neither are replies beyond the limit in Messages per Submission per Hour.
  • An answer that arrives by email is filed with its text and basic formatting. Layout from the customer's mail app, such as background pictures or rounded corners, isn't kept.
  • Attached files follow the Attachment Size Limit (MB) of Reply Messages. A file that's too large is dropped, and the message is still filed.
  • These settings exist for Default Config and each website, not for single store views.
  • With Encryption set to None, the mailbox password and the replies travel unencrypted. Don't use it unless whoever runs your server confirms the connection is protected another way.
  • Keep Original Messages for (Days) at 0 deletes each original email once its text is filed. Kept originals hold full email headers and earlier messages, which is personal data.

Troubleshooting​

  • The Status line says nothing has been checked and the scheduled task may not be running. Check that Collect Replies by Email is Yes at the scope you're looking at and that the settings are saved. If they are, ask your developer to check that Magento cron is running.
  • A customer's answer isn't in the conversation. It may not carry the reply address, for example when the customer wrote a new email. Set Send Unplaceable Replies To to an address your team reads, and such emails are sent on there with the original attached. Don't use an address the same mailbox receives. The original can hold earlier messages and attachments, so use an address only your submission team reads.
  • Run Test fails. Check the server, port, encryption and sign-in details, click Save Config and run the test again. The test uses the saved settings.

What's next​

Applies to WebForms 4Last reviewed November 24, 2026