Initial implementation of emails app