only cache IMAP responses that return sucessfully