🚀 Features:
✅ Validates real Gmail address existence
🌐 Uses a public email validation API (API Layer)
🧩 Frontend + Backend architecture
🎨 Clean and minimal UI
⚡ Fast validation response
🔐 API key protected via environment variables
🛠 Tech Stack:
Frontend
HTML
CSS
JavaScript
Bootstrap
Backend
Node.js
Express.js
API Layer Email Validation API
🔍 How It Works
User enters a Gmail address
The frontend sends the request to the backend
The backend calls the API Layer email validation endpoint
The API checks:
Gmail domain validity
Mailbox existence
The result is returned and displayed to the user
📦 Installation & Setup 1️⃣ Clone the repository git clone https://github.com/amirkiarash/gmail_validation.git cd gmail_validation
2️⃣ Install dependencies npm install
3️⃣ Create a .env file API_KEY=your_api_layer_key_here
4️⃣ Run the application node index.js
Then open your browser and go to:
🌐 API Used
API Layer – Email Validation API 🔗 https://apilayer.net/api/
The API checks:
Email format
Domain validity
SMTP / mailbox existence
Some Gmail servers may limit validation requests
API rate limits depend on your API Layer plan
Validation accuracy depends on SMTP response availability
📌 Future Improvements:
✨ Username-only input (example → example@gmail.com)
⏳ Loading spinner during validation
📊 Validation history
🌍 Support for non-Gmail domains
🚀 Live deployment (Vercel / Render)
👤 Author:
Amir Mohammadi GitHub: @amirkiarash