High-level module to construct RFC-compliant emails from javascript