Email for Replit apps

Add an email inbox to your Replit app

Give your Replit app its own email address. It can receive email and attachments, show them in your app and reply to the sender. You paste one prompt, and Replit writes the code.

How it works

  1. A new email arrives

    Someone emails your agent’s address. Revdoku tells your agent right away.

  2. Your agent opens it

    It reads the email and its attachments when it needs them.

  3. Every read is logged

    The audit log shows each email and file your agent opened, and why.

  4. Your agent gets the data

    It uses what it found and can reply to the sender.

AI agent
myagent@revdokumail.com

[email protected]New

Project brief

brief.pdf

[email protected]

Your sign-in code

Audit log
  1. Read email

    Reason: find the project brief

  2. Read file brief.pdf

    Reason: check the requirements

What your app can do with its inbox

Receive email

Give your app an address for orders, forms, sign-up codes or customer messages, and show new email in the app.

Use attachments

Save PDFs, images and other files sent to the inbox, and use them in your app.

Reply to senders

Reply from the same address to people who emailed your app.

Add an inbox to your Replit app in 5 steps

  1. Create your free inbox. Sign up with Google, GitHub or your email. No card needed.
  2. Create an API key. In your Revdoku dashboard, open Account → Access, create an API key and copy it.
  3. Add the key to Replit as a secret. In your Replit app, open Secrets from the Tools panel, add a secret named REVDOKU_API_KEY and paste your key.
  4. Paste this prompt into Replit. Replit Agent calls Revdoku from your app’s server code, so the key never reaches your visitors’ browsers.
Add an email inbox to my app with Revdoku.
Read the Revdoku API guide first: https://revdoku.com/api.md
- Call the Revdoku REST API only from server-side code
  (a backend route or edge function). Read the API key from
  the secret REVDOKU_API_KEY. Never put the key in browser code.
- Create one Revdoku inbox for the app and save its id and
  email address. Show the address in the app.
- Show new emails and their attachments in the app.
- Let me reply to an email from the same address.
- When a new email arrives, update the app automatically
  (use a Revdoku webhook if the app has a public URL).
Ask me before creating more inboxes.
  1. Try it. Send an email with an attachment to your inbox address and check that it shows up in your app.

Keep the key in Replit’s secrets, never in page code or chat messages. API reference · Plans and limits

Markdown version
↧
Loading PDF…