Renamed  to
Changed the order of send_templated_mail function's argument