global alert
Send yourself alerts.
methods
M.email
function M.email(m: (Mail|string)) -> nil
@param m - The mail to be sent.
Send an email to yourself.
When passing a table, one of text or html must be set. Passing just a
string is equivalent to passing a table with text set to that string.
This sends to the email address of your account. To send emails to other
addresses you must provide your own SMTP server, see email.send.
Examples
email.send("Hello, world!")
email.send{ text = "Hello, world!" }
email.send{ subject = "Hello", html = "</h1>Hello, world!</h1>"}