Email Integration into Mobile App

TRUETECH is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.

Development and support of all types of mobile applications:

Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1All 1735 services
Email Integration into Mobile App
Medium
~3-5 days
Frequently Asked Questions

Our competencies:

Development stages

Latest works

  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    792
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    671
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1097
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    969
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    914
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    495

Email Integration into Mobile Application

Sending email from mobile app—a task with several complexity levels. You can open native mail client via mailto: and call it integration. You can send transactional emails via SMTP directly from device, which no one should do in production. Or do it right—via mail provider API from server, but with user-friendly interface in app.

Three Scenarios and Their Implementation

Scenario 1: Open Native Client. Simplest. iOS—MFMailComposeViewController from MessageUI.framework, Android—Intent.ACTION_SENDTO with Uri.parse("mailto:"). Suitable when user just needs to write email—to support, for example.

Caveat: MFMailComposeViewController unavailable on simulator and devices without configured mail. Always check MFMailComposeViewController.canSendMail() before showing, else crash.

Scenario 2: Transactional Emails via API. Registration, password reset, order notifications—emails sent from server, app only initiates request. Provider choice:

Provider SDK Free tier
SendGrid REST API + official SDK 100 emails/day
Mailgun REST API 100 emails/day
Amazon SES AWS SDK 62k emails/month (within AWS)
Postmark REST API No free

Mobile app requests its backend (POST /api/send-email), backend calls provider API. API keys never stored in app.

Scenario 3: Reading and Sending Email in App Interface. Full email client inside app—this is IMAP/SMTP or Graph API (Outlook) / Gmail API. For Gmail: OAuth 2.0 authorization, get message list via users.messages.list, bodies via users.messages.get. Gmail API quotas—250 units per request, 1 billion units/day per project limit. Active use requires monitoring.

Working with Attachments

Attachments in mobile context require care. On iOS, files from UIDocumentPickerViewController accessible via security-scoped bookmarks and require explicit startAccessingSecurityScopedResource() / stopAccessingSecurityScopedResource() calls. Without this you get NSCocoaErrorDomain code 257. On Android with API 30+, direct /sdcard access closed—only via MediaStore or ACTION_OPEN_DOCUMENT.

For downloading attachments—streaming with progress, URLSession.downloadTask on iOS or OkHttp with ResponseBody.byteStream() on Android. Don't buffer everything in memory if attachment could be large.

Push Notifications on New Mail

For real-time new mail notifications, IMAP IDLE keeps TCP connection—on mobile it kills battery. Right path: server listens IMAP IDLE, on new mail sends push via FCM/APNs. App receives push, makes request, updates list.

Estimate: simple transactional mail sending integration—2-3 days. Built-in mail client with IMAP/OAuth—3 to 6 weeks.