Adds support to import emails from text file (issue #4)