A custom view modifier in order to present the system email composer in SwiftUI based iOS apps shipped as a Swift package.
Composing Emails in SwiftUI Using A View Modifier
Learn how to port the email compose view controller into SwiftUI, and make it easy to use, elegant and reusable with a custom view modifier.
Email Composer on iOS
Read in this post how to present and configure the system provided email composer, allowing users to send emails through your own iOS apps.