Plenty of people resign via email simply to make it official. That's where the whole 'handing in your notice' expression comes from, people used to literally hand deliver their termination letter, these days letters are emails so it is a logical - even if it feels rude - development.