Magento 2 Email Verification helps store owners keep customer email information correct by checking email addresses at different steps in the shopping process.
It works for all frontend email fields, including login, registration, checkout, newsletter sign-up, and contact forms.
This improves communication with customers and keeps the email list clean for sending order updates or marketing emails.
Admins can also manage accounts by locking or unlocking customers directly from the backend. This gives better control over who can use the store and helps prevent misuse.
Magento 2 Email Verification supports both guest users and registered customers.
It checks email addresses in real time to avoid mistakes that can lead to failed deliveries or customer service problems.
This module is a simple way to improve email quality, protect your store from spam, and build a trusted customer database.
You can also check out the Magento 2 Seller Badge Marketplace Add-on, which lets the admin assign badges to different sellers based on their performance.
Note: allow_url_fopen should be enabled. You can check this phpinfo() function.
Features
- Email validation is now applied during customer login.
- Email verification is required at the time of account registration.
- Email is checked at the billing address step during checkout.
- Newsletter subscription now includes real-time email validation.
- The Contact Us form requires email confirmation before submission.
- Admin has the ability to lock or unlock customer accounts.
- Real-time email validation helps prevent incorrect or fake entries.
Installation of Magento 2 Email Verification
The installation process is straightforward, similar to any standard Magento 2 extension.
#Download Module
First, log in to the Webkul Store, navigate to My Account > My Purchased Products, verify your purchase, then download and extract the zip file on your system.
#Upload Folder
After extracting the module zip, go to src > app, then copy the app folder into your Magento 2 root directory on the server as shown below:

#Run Commands
Next, you need to run the following commands,
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush
Language Translation
For translating the module language, navigate through the app/code/Webkul/CustomerRestriction and edit the en_US.csv file.
Thereafter, rename the CSV as “en_SA.csv” and translate all right side content after the comma in the Arabic language. After editing the CSV, save it.

Now, upload it to the path app/code/Webkul/CustomerRestriction where the installation of Magento 2 is on the server.
The user can edit the CSV like the image below.

Steps to generate ZeroBounce api key
To generate the API key, log in to ZeroBounce.

After logging in, go to the API > copy the API key, which will later be used in the configuration.
This is shown in the image below.

Admin Configuration of Magento 2 Email Verification
After the successful installation of the extension, the admin has to configure it. For it, they navigate to CustomerRestriction > Configuration as per the image below,

Similarly, admin can also navigate to Stores > Configuration > CustomerRestriction
as per below image,

This section allows the admin to manage settings related to email verification and customer access control.
General Settings
Enable On Frontend: Turns the module on or off for the storefront. When set to Yes, email verification features (like login, registration, and form checks) will be active on the frontend.
API Key: This key connects your Magento store to the email verification service (like ZeroBounce).
Notify Customer by Email on Account Lock/Unlock: The admin sends an automatic email to customers when locking or unlocking their account.
Email Templates
This section allows the admin to assign custom email templates for customer notifications.
Customer Account Locked Email Template: Select the email template that notifies the customer when you lock their account.
Customer Account Unlocked Email Template: Select the email template that notifies the customer when you unlock their account.
Account Information – Customers
To view the customer’s email, the admin needs to go to Customers > All Customers, as shown in the image below.

To view customer details, click on Edit, then go to Customer Information > Account Information.
From here, the admin can see the full details of the customer and has the option to lock the account.
The lock/unlock option is available at the bottom. This is shown in the image below.

Customer End
Create an Account
The customer can create a new account by entering their personal details.
If they enter an email that is not in the correct format or is invalid, an error message will appear on the screen, as shown in the image below.

Customer Login
If a customer already has an account, they can log in directly by entering their email and password.
The sign-in will only work if the email is correct; otherwise, an error message will appear, as shown in the image below.

newsletter subscriptions
Newsletter subscription is successful only when the customer enters a valid email. If a wrong email is entered, an error message appears, as shown in the image below.

Contact US
A customer can also submit the Contact Us form only if the entered email is correct. Otherwise, an error message will appear, as shown in the image below.

Custom Page
For the custom page created by the admin, the customer can access it only by entering a valid email ID. If the email is invalid, an error message will appear, as shown in the image below.
Note: For custom pages, only client-side validation is supported. Use type="email" for email fields, and avoid using Ajax for form submission.

Support
So, that is much about Magento 2 Email Verification extension.
If you have any more queries, please feel free to reach out ot us at support@webkul.com or create a ticket.
Current Product Version - 4.0.1
Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

Be the first to comment.