Add a docstring here, like in send_mails