Claude · Build
Ask Claude to build it
Four prompts, one at a time. Copy each one, change the details, and check the result before the next.
1 · The tablesCreate Supabase tables for my contact messages: threads (guest name, guest email, subject, status) and messages (thread, who sent it, text, time). Turn on Row Level Security so only I can read them.
2 · SendingMake a Supabase Edge Function that saves a contact form message as a new thread and emails me from my Gmail (smtp.gmail.com, port 465, using the GMAIL_ADDRESS and GMAIL_APP_PASSWORD secrets). Set Reply-To to the guest and add a thread tag to the subject. Connect my contact form to it.
3 · The inboxBuild a private Inbox page that only I can open after logging in. List all threads, show each conversation, and add a reply box that saves my answer and emails it to the guest from my Gmail.
4 · Reading repliesRead my Gmail with IMAP (imap.gmail.com, same app password) and add the guests' email replies, and the replies I send from Gmail, to the right thread. Do it when I open the inbox, and add a Refresh button.
Optional: ask Claude to also check Gmail every few minutes in the background with a Supabase schedule, so new replies are already waiting when you open the inbox.
You'll walk away withA contact form that emails you + a private inbox