@kerenc,
Emails do work differently than web pages. The reason being that while a web page is loaded in a browser (ie. chrome, firefox, IE, Safari), emails are loaded into email clients.
Browsers are always fighting to keep up with the latest in web development in order to have web pages look “right” in there product. There is a reason chrome and firefox are the most popular while IE and Safari have a much smaller user base, despite the latter being default browsers on most machines while the former are third party and need to be sought out and downloaded. The reason is that chrome and firefox give the best user experience when surfing the web, mostly due to them integrating new rules.
Email clients work the same way. They are essentially really dumb browsers though. Consider the emails you usually send and receive. They are usually plain text, maybe some formatting, and basic images. Most clients expect this. Now look at any marketing email template. It’s not exactly plain text. There is a lot of css, images, formatting, etc.
Basically email templates today are built the way that websites were in the 90’s, The almighty table. Export your template to a coded file and check out the code. I am 90% sure you will find tables inside of tables inside of tables. Going light on the css and structuring ensures that your email is properly processed by all email clients.
as for media queries, I wouldn’t do it. reason why? here.
So how do you make an email responsive?
1. percentages - try not to use exact widths, use percentages instead. You can place css in the head of your document. If you build custom structure in your email use tables and use percentage widths.
2. You will find a lot of email templates that are around 600px wide. This isn’t quite small enough for the smallest phones or large enough for the largest desktop screens, but it is a compromise between the two that (I guess, I don’t really do it) allows you to skip responsive adjustments on the template.
Keep in mind that you also have to worry about document size with some clients so it is best if you optimize your images to their smallest, keep the html and css light, and keep your messages short.