Works with Claude Code

Claude Code built the site. JS2Mail handles the email.

You generated a frontend with Claude Code. One URL in your form's action= and contact submissions land in your own inbox — no backend to write.

Get your endpoint free See the docs
01
Connect your mailbox
Sign in with Gmail or Microsoft 365 — one click. Or bring any SMTP host. Takes 60 seconds.
02
Copy your endpoint URL
JS2Mail gives you a unique URL. That's your form's action= value. Nothing else changes.
03
Get real email
Every submission lands in your inbox as a normal email thread. Reply directly to your visitor.

The HTML. That's it.

Copy, paste, replace YOUR_ID with your endpoint ID.

contact.html No backend. No server. No SMTP.
<form action="https://api.js2mail.dev/f/YOUR_ID"
      method="POST">
  <label>Name
    <input name="name" required>
  </label>
  <label>Email
    <input name="email" type="email" required>
  </label>
  <label>Message
    <textarea name="message"></textarea>
  </label>
  <!-- honeypot — stops bots silently -->
  <input name="_honey" style="display:none" tabindex="-1" autocomplete="off">
  <button type="submit">Send</button>
</form>
Submissions arrive in your inbox as real email threads — from your own connected mailbox.
Or ask Claude Code to do it
Add a contact form to this page. Set action="https://api.js2mail.dev/f/YOUR_ID" method="POST". Fields: name, email, message. Add honeypot: <input name="_honey" style="display:none" tabindex="-1" autocomplete="off" aria-hidden="true">. Do not create a backend handler — the external endpoint processes submissions.

Replace YOUR_ID with the endpoint ID from your JS2Mail dashboard.

Ready to connect your Claude Code site?

Free plan includes 10,000 sends per month. No credit card required.

Start free — get your endpoint
Already have an account? Sign in