updated email command