rails g model email from:index to subject date message_id:index in_reply_to content_type charset references:text header:text body:text
Migrate db
Add better_errors gem
Store email data to sqlite
Change to get all mails
Rescue when encode fails
Add root page
Handling nil case