Fixed bug in bulk email command.