Added new mail function layout, and form to set grades