added documentation for email module