add mail modal navigation bar setting methods.