MyJackfruit

Help
Browse topics · Development

Development

← Back to Can my website have a contact form?

Can my app send e-mails, such as a welcome e-mail or an order confirmation?

Short answer

Not today: GilbPlatform sends only its own e-mails, such as sign-in codes, and a published app cannot use an e-mail service.

Before you start

Words used here (2)
GilbPlatform
GilbPlatform is the service that keeps people's and organisations' data in vaults, each at its own web address.
sign-in code
A sign-in code is a 6-digit number GilbPlatform e-mails to you; typing it proves the address is yours and signs you in.
Deeper

GilbPlatform today. GilbPlatform sends its own e-mails, such as the sign-in code, but it has no part your app can use to send e-mails or text messages. The e-mail GilbPlatform sends the people who use your app with their sign-in code is written in English and carries your app's name where GilbPlatform knows it; you cannot add a welcome or anything else to it. GilbPlatform does not e-mail a person when you share a vault with them, so tell them yourself. GilbApp sends no e-mails for your app either.

What is blocked today. An app put live at its pages.dev address, the web address https://<name>.pages.dev that GilbPlatform gives it, may fetch data only from its own address and from GilbPlatform's own addresses, such as id.gilb.com, and run only its own scripts, the code that makes a page work; it cannot show another site inside its pages, and a form in it can send only to its own address. It has no server code: publishing refuses a functions folder, because it would run your code on the server. Publishing is also refused when a file looks like a secret key, such as a Stripe secret key. So your published app cannot send a welcome e-mail or an order confirmation through an e-mail service today.

Why an e-mail service does not fit. An e-mail service is a company that sends e-mails for a program, for example Resend, the US e-mail service that sends GilbPlatform's sign-in codes. Such a service gives you a key, a secret text that lets your program use it, like a password for a program. The Developer Guide, GilbPlatform's guide for people who build apps on it, says a private key belongs on a server, in the server's secret store, and that a page in a browser cannot keep one secret. A server is a computer on the internet that runs your app's own code even when no one has the app open, and an app live at pages.dev has none. The answer Where do I keep the passwords and keys for the services my app uses? says more.

What still works, for example:
- Your app can show a confirmation on the screen right after an order, and keep the order as a record in a vault the person can read, so they can see it again in your app. A vault is the place where a person or a group keeps their records.
- The security rules for published sites do not block a plain link that opens the person's own e-mail program with your address filled in; the person then writes and sends that e-mail themselves, and your app sends nothing. GilbApp does the same on a person's card: under an e-mail address, Send email hands the address to your computer's e-mail program for a new message.
- You can write to the people you invite yourself, from your own e-mail program.

What you would do yourself with an e-mail service: an account with it, accepting its terms, and paying what it costs. E-mail addresses are personal data; rules such as GDPR, the European Union's law on personal data, may apply. This help gives no legal advice; see Do I have to follow rules such as GDPR or app store rules from the start?

If your app needs to send e-mails, tell Kai-Zen, the planning agent, so it is in your plan, and write to [email protected]. The answers Will my app's e-mails end up in spam? and Can I be told when someone signs up or orders? tell more.

This answer is written for a computer screen.

Source: GilbPlatform 0fc5a548 (https://id.gilb.com/version, read 13 November 2026): src/auth/send-otc-email.ts:162-224 (the sign-in code e-mail: fixed English text, Your … sign-in code, the app's name or GilbPlatform), :297-324 (A computer was added to your Gilb account), src/auth/otc-app-name.ts (a registered app is named by its registered name), src/monitors/alertMail.ts (alerts to the platform owner only); no route that sends e-mail, text messages or notices for an app (read 13 November 2026). workers/publish-ingest/src/checks.ts:21 and :146 (functions, _worker.js, _headers refused: a functions folder would run your code on the server), :30-39 and :158 (key-shaped strings, incl. a Stripe secret key, refused), :165-172 (the site's own headers: Content-Security-Policy default-src 'self'; script-src 'self'; connect-src 'self' https://*.gilb.com; form-action 'self'). Standard RuleDeployPagesDev; Agent.Coder (GilbStack 14a: a browser-only app cannot keep a key secret); Developer Guide Dev.Guide.AppAccess. GilbApp 49b1ae53 (https://gilb.com/app/version.json, read 13 November 2026): src/components/records/ContactRows.tsx:713-762 (Send email opens a mailto: link); no e-mail sending in src. Resend, API reference, https://resend.com/docs/api-reference/introduction, read 13 November 2026 (requests carry your API key). Live help pages, sentences shared: Can my app send a reminder before a booking? (GilbPlatform sends its own e-mails; the blocked-today lines); Can my app be in more than one language? (sign-in e-mail in English, with your app's name where known); Can I invite people to my app, or block someone? (no e-mail when you share a vault); Where do I keep the passwords and keys for the services my app uses?; Where is my data stored? (Resend, a US e-mail service); How do I edit a person's e-mails, phones and links? (Send email); Can I connect Stripe, PayPal or Vipps to my app? (a link the visitor follows); Do I have to follow rules such as GDPR or app store rules from the start?

Checked against GilbApp d529620.