Is it illegal to pose as someone on their email account and send out emails without their knowledge or permission?

Identity theft is a crime in most jurisdictions. It can also constitute fraud.