The mail module should be able to send a multi-part message, with HTML and TEXT content. One idea is to make the body entry a luan table:
smtp.send {
from = "me@example.com";
to = "you@example.com";
subject = "luan";
body = {
text = [[hello]],
html = [[<b>hello</b>]]
}
}