There are many people who actually read the emails they receive from companies, even promotional emails. The fact is that not all email marketing is spam.
Some people like being informed about the products/services they use - in this case, the email marketing they opt into is a periodic newsletter of sorts. When a new feature or improvement is released, some people like receiving an email notifying them of the release. Again, such an email is marketing. For larger companies, there's a marketing team who designed the email and wrote the copy for it.
Don't confuse email marketing with spam. Some marketing is spam, much of it is not.