MyBible.Email
Local backend prototype

Email a feeling. Receive scripture.

This local version shows the backend flow we are building: inbound email arrives at an address like anxiety@mybible.email, the system works out the context, creates a gentle scripture reply, records the event in Supabase, and sends the response back by email.

Backend flow

1. Inbound email webhookMailgun, Postmark or another provider posts the email payload to /api/inbound/email.
2. Normalise and classifyThe address before @mybible.email, subject and message become the pastoral context.
3. Record and control usageSupabase stores the sender, request, selected passages, delivery status and remaining message credits.
4. Send the replyThe user receives a warm email with Bible passages, a reflection and a clear note that it is encouragement, not crisis support.

Christian reply demo

This demo shows Christian, the MyBible.Email AI guide, using the deterministic local reply generator without OpenAI, Supabase or outbound email keys.