Optional
token: stringOptional Fastmail API token to use for authentication
Optional
hostname: stringOptional Fastmail API hostname to use for authentication; defaults to https://api.fastmail.com
InvalidCredentialsError if no username or password is provided
Gets the session object from the JMAP server