Finished the basic of the mail view.