fixed view error, added delete for mail accounts