Convert to email models immediately. Fixed related bugs.
Fix duplicate emails bug

This occurred whenever two emails in the same thread had the exact same unix_time.