Fixed SQLException in /mail test command