Added email functionality
Render emails