Skip to content

Apple Mail iOS client shrinks email width and font sizes #671

@jinsley8

Description

@jinsley8

Describe the Bug

Email templates created with React Email do not display properly in Apple Mail client on iOS.

It looks like it's reducing the width or adding a margin on the right side.

This occurs with the demo templates as well.

All the other emails in my inbox do not display like this. They are all full width and font sizes do not change.

I tested a Sendgrid dynamic template with a clone of my React Email template and it displays as expected.

React Email Template
apple-mail-react-email
Sendgrid Dynamic Template
apple-mail-sendgrid

Which package is affected (leave empty if unsure)

@react-email/components

Link to the code that reproduces this issue

https://gist.github.com/jinsley8/a77e145e527223339c4dd1db47742945

To Reproduce

Try sending any React Email template and view it on Apple Mail iOS on iPhone.

To test Sendgrid you'd have to create an account and setup a dynamic template but you can clearly see the React Template emails do not render the same as any other email in your inbox.

Details on Sendgrid templates:
https://docs.sendgrid.com/ui/sending-email/how-to-send-an-email-with-dynamic-templates
https://sendgrid.com/free-templates/

Expected Behavior

The email is full screen width and font sizes do not shrink.

What's your node version? (if relevant)

18.12.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions