IMAP servers often strongly recommend clients to report their ID, for usage statistics and bug reports. Clients may also find server IDs useful for the same reasons. Although the RFC requires otherwise, some servers do make it a soft requirement that the ID is reported (and will sometimes even disconnect clients they do not recognize). See https://tools.ietf.org/html/rfc2971 for more details. Implementation: https://github.com/ruby/net-imap/pull/4 See also the github PR at https://github.com/ruby/ruby/pull/2882.