Added imap.rb from 2.0.
Fixed constant name.