Support extracting MIME messages directly

Authored by vkrause on Sep 30 2018, 9:08 AM.