Imap login multiple account at same time

Can imap login the multiple account at same time ???

imap = Net::IMAP.new(“imap.googlemail.com”, 993, true, nil, false)

imap.login(email, password)

Given the protocol cannot. Almost certainly not, but you could create 2 instances. I do this regularly (but to different imap servers, conceptually its no different, its 2 distinct connections)