Added more generic mailer
Added render_form_by_id and made path mandatory