Sample code for 30+ languages & platforms
Lua

Email Object Examples for Lua