I can not remove the ID colum from mail inbox

That for, you have to write a listview client script.

Go to the Client script doctype.

DocType: Communication
Apply To: List

and apply the script:

frappe.listview_settings['Communication'] = {
	 hide_name_column: true
};

Reference: How can i hide ID from grid - #2 by NCP