Fixed render_email method in nereid