Seamlessly receive form submissions via email AND store them in Google Sheets A complete solution for capturing, notifying, and organizing form data without backend code.
Effortlessly capture form submissions with instant email delivery and automated Google Sheets logging - no backend code required. The perfect solution for static sites, GitHub Pages, and JAMstack projects.
- Zero backend setup - works with static sites
- Spam protection β reCAPTCHA
- Instant email notifications on form submission
- Auto-save to Google Sheets in real-time
- Secure processing via Google Service Account
- Success/error notifications β User feedback after submission
- Community-driven β Feature voting and discussion
- Point Your Form: Set your HTML form's
actionattribute to the Form2Mail endpoint with your email address. - First-Time Verification: The first time an email address is used, we send a verification link. This is a one-time security step to confirm ownership and prevent abuse.
- Receive Data: Once verified, all future submissions from that form are sent directly to your email and, if configured, your Google Sheet.
Perfect when you just need form submissions sent to your inbox Get form submissions straight to your inbox!
-
Copy this ready-to-use form code:
<form action="https://www.form2mail.dinestx.com/api/v.01/your@email.com" method="POST"> <label for="name">Name</label> <input type="text" id="name" name="Name" required> <label for="email">Email</label> <input type="email" id="email" name="Email" required> <label for="message">Message</label> <textarea id="message" name="Message"></textarea> <button type="submit">Send</button> </form>
-
Just change one thing:
Replace your@email.com with your actual email address
https://www.form2email.dinestx.com/api/v.01/your@email.com -
That's it! Submit the form, check your inbox for the one-time verification link, and you're ready to go.
In addition to email, automatically save submissions to a Google Sheet.
-
Create a Google Sheet: Make a new, empty Google Sheet.
-
Share with Service Account:
- In the "Add people and groups" field, enter:
form2mail@dinestx.iam.gserviceaccount.com - Set the permission to Editor and click Send.
- In the "Add people and groups" field, enter:
-
Update Your Form's Action:
Add the sheet query parameter to the action URL with your Sheet ID.
<form action="https://www.form2mail.dinestx.com/api/v.01/your@email.com?submit=Your_Google_Sheet_Id" method="POST">
// Your Form Code
</form>-
Find Your Sheet ID: The Sheet ID is the long string of characters in the URL of your Google Sheet. https://docs.google.com/spreadsheets/d/`1BiF_PwhXHuNgWENADfQQHTFfDpjGb-zri8MdXv3onnQ`/edit
Your_Google_Sheet_Id:
1BiF_PwhXHuNgWENADfQQHTFfDpjGb-zri8MdXv3onnQ
| Parameter | Description | Default |
|---|---|---|
name= "Name" |
Capital Name can be Shown in Your email Table |
name="name" |
name= "Email" |
Capital Name can be Shown in Your email Table |
name="email" |
name= "Mobile" |
Capital Name can be Shown in Your email Table |
name="mobile" |
We welcome community input! Here's how to contribute:
| Feature Request | π Votes | Status | Discussion |
|---|---|---|---|
| File attachments | 01 | Planned | #4 |
βΉοΈ Click the issue numbers above to view or join the discussion.
- Vote on existing requests by adding a π reaction
- Suggest new features by opening an issue
- Discuss ideas in our Discussions tab
If you encounter issues, please check the following:
If you're not receiving form submission emails:
- Make sure you entered a valid email address
- Check your Spam or Junk folder
- Try using a different email provider (Currently, We only support Gmail)
- If you're using a custom domain (e.g.
you@yourdomain.com), ensure your domain is able to receive external emails
If the form is not submitting properly or shows an error:
- Ensure your internet connection is working
- Refresh the page and try again
- Complete the reCAPTCHA challenge (the βIβm not a robotβ box)
- If a link was emailed to you for verification:
- Make sure you click the link within 15 minutes
- Check that the link is not broken or expired
- Make sure JavaScript is enabled in your browser
- Try using a different browser (e.g. Chrome or Firefox)
- Try submitting the form from a different device
- If nothing works, reach out to the site owner for help
π¬ If this service was embedded on another website (like a contact form), please contact the website owner directly β Form2Email does not store your messages.
Contributions are welcome! If you have ideas for improvements or want to fix a bug, please read our Contribution Guidelines to get started.
This project is distributed under the GNU General Public License v3.0. See LICENSE for more information.
Vishnu Prakash β @v-ishnu β vishnuprakash572@gmail.com
Project Link β https://github.com/v-ishnu/Form2Mail