pub fn test(account: &Account, password: &str) -> Result<u32, SyncError>
Logs in and opens the inbox read-only: the number of messages in it.