Update imap_extensions.rb

Unclear why need to do this. Perhaps Ruby 2