Add lang option to send_mails function