change email command to use "grant" rather than "grantid"