Fix code execution issue in email command.