📧 Form2Mail v0.1

Form submissions → Email + Google Sheets

✨ Key Features

Zero Backend

Works with static sites - no server code required. Perfect for GitHub Pages, JAMstack, and simple websites.

Spam Protection

Built-in reCAPTCHA integration to prevent spam submissions and ensure data quality.

Instant Emails

Get notified immediately when forms are submitted, with all data neatly formatted.

Google Sheets

Automatically log submissions to a spreadsheet for easy tracking and analysis.

⚙️ How It Works

  1. Point Your Form: Set your form's action attribute to our endpoint with your email address
  2. First-Time Verification: We send a verification link to confirm ownership and prevent abuse
  3. Receive Data: Future submissions go straight to your email and optionally to Google Sheets

Technical Flow

Form Submission → reCAPTCHA Verification → Email Processing → Google Sheets API (if configured) → Success Response

🚀 Quick Start

Email-Only Setup

Basic implementation for receiving form data via email:

<form action="https://www.form2mail.dinestx.com/api/v.01/your@email.com" method="POST">
  <input type="text" name="Name" placeholder="Your Name" required>
  <input type="email" name="Email" placeholder="Your Email" required>
  <textarea name="Message" placeholder="Your Message"></textarea>
  <button type="submit">Send Message</button>
</form>

With Google Sheets Integration

Enhanced version that saves to your spreadsheet:

<form action="https://www.form2mail.dinestx.com/api/v.01/your@email.com?sheet=YOUR_SHEET_ID" method="POST">
  <!-- Your form fields here -->
  <div class="g-recaptcha" data-sitekey="YOUR_RECAPTCHA_KEY"></div>
  <button type="submit">Submit</button>
</form>

Ready to Transform Your Forms?

Start receiving submissions in minutes with zero backend code

Get Started Now View on GitHub

📊 Configuration Options

Form Field Naming

Use these standard names for automatic formatting:

<input type="text" name="Name">   <!-- Will appear as "Name" in email -->
<input type="email" name="Email"> <!-- Will be linked in email -->
<input type="tel" name="Phone">   <!-- Formatted as phone number -->

Advanced Parameters

?sheet=SHEET_ID        <!-- Your Google Sheet ID -->