By following the below steps you can Remove the Account from the android lollipop powered device like Nexus, Motorola , Samsung, Sony, Micromax, Oneplusone, and if you are running on Cm13 android marshmallow you just need to follow below steps.
#How to Remove Email Account In Marshmallow
1.Open Setting on your android device.
2.Now open Account settings in it.
3.You will see the different name of the different site like Google,whatsapp,Facebook,Twitter and many more if you have installed it on your device.
4.Here I open Google because I want to Remove my gmail account from my android phone.
5.Now there is the list of an account that I have added in my android phone.
6.I want to remove firstname.lastname@example.org account so I tap on it to open it.
7.Now just tab on the 3 dot option on that top right corner you will get Two options.
8.First will be of cancel sync and another will be of Remove account.
9.Next you know what to do Just tab on remove account.
10.Hurray, you successfully deleted your email account from you android marshmallow