Fix wrong index in worker send_mail