DETA programs have their own unique email address. They can currently send plain text emails (soon they'll also be able to receive email).
To use DETA Email, just import the
from deta.lib import email
Then use the command below.
email(to, subject, message) to send an email.
toan email address (
str) or a
subjectthe subject line (
messagethe email's body (
from deta.lib import app, email email("email@example.com", "Happy Birthday!", "Dear Ludwig,...") email(["firstname.lastname@example.org", "email@example.com"], "January Update", "Hello team, ..")