By following the below steps you can Remove the Account from android lollipop powered device like Nexus, Motorola ,Samsung,Sony,Micromax, Oneplusone,and if you are running on Cm12 you just need to follow below steps.
#How to Remove Email Account In android lollipop or Cm12
1.Open Setting in your android device.
2.Now open Account settings in it.
3.You will see different name of different site like Google,whatsapp,Facebook,Twitter and many more if you have installed it in 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 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 lollipop device.