fix bug on email notification display, TODO: create a view for to and content field according to the notification type