dashboard: Fix send_mail