It works well enough for regular IMAP or Exchange accounts, but there is something messed up with Google’s implementation of IMAP which causes the experience to be sub-par. Also, Mail.app doessn’t have anywhere near feature parity with Inbox.
Hence it makes the decision to move to Fastmail, which has standards compliant IMAP, so much easier.