PackageTrack
Sign in Get early access

open_mail

A Flutter package to query the device for installed email apps and open them programmatically.

1.2.1 18K downloads/mo #2278 most downloaded on pub.dev Cuboid-Inc/open_mail

What this package is like to depend on

Last release 9 months ago

03 Nov 2025

Ships fairly regularly

a new release about every 2 months

Nearly every release is documented

notes for 12 of 12 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

12 releases · first in 2024

2 releases in the last 12 months

see the full history below

Release timeline

12 releases · Nov 2024 to Nov 2025
2025 2026
Release Pre-release

Releases

latest 12
  1. 1.2.1 03 Nov 2025
    Release notes

    Added

    • Comprehensive migration documentation for v1.2.0 API changes
    • Complete usage examples for custom mail app picker implementation
    • Detailed explanation of MailAppPickerDialog replacement patterns
    • Professional response to semantic versioning concerns raised by users
    • Step-by-step migration guide from v1.1.0 to v1.2.0 with working code examples

    Improved

    • README documentation with better structure and clearer examples
    • Added complete before/after code comparisons for migration
    • Enhanced API documentation with new usage patterns

    Documentation

    • Updated README with Basic Usage and Advanced Usage sections
    • Added migration benefits and rationale for API changes
    • Provided professional explanation of versioning decisions
    Open source →
  2. 1.2.0 09 Sep 2025
    Release notes

    What's Changed

    • chore: set minSdkVersion & compileSdkVersion to follow Flutter by @AkhmadRamadani in #12

    New Contributors

    Full Changelog: v1.0.0...v1.2.0

    Open source →
    Release notes

    Breaking Changes

    • OpenMail.openMailApp: removed the nativePickerTitle parameter. Android now uses the system default chooser title.
    • OpenMail.openSpecificMailApp: signature changed to openSpecificMailApp(String name). It now opens the target app’s inbox only and returns OpenMailAppResult, similar to openMailApp.

    Changed

    • iOS: Apple Mail inbox scheme switched from mailto:// to message:// for opening the inbox reliably.
    • Android: native implementation for openMailApp ignores custom titles and uses Intent chooser with default title.
    • Example and tests updated to match new APIs.

    Fixed

    • iOS detection of Gmail and other apps: clarified and enforced LSApplicationQueriesSchemes requirements so canOpenURL works and Gmail appears in the list when installed.

    iOS Setup Notes

    • Ensure these URL schemes are added to your app’s Info.plist under LSApplicationQueriesSchemes for detection:
      • googlegmail, x-dispatch, readdle-spark, airmail, ms-outlook, ymail, fastmail, superhuman, protonmail, message

    Migration

    • Replace OpenMail.openMailApp(nativePickerTitle: '...') with OpenMail.openMailApp().
    • Replace OpenMail.openSpecificMailApp(name, emailContent) with OpenMail.openSpecificMailApp(name).
    Open source →
  3. 1.1.0 25 May 2025
    Release notes

    Added

    • Robust fallback logic for Apple Mail on iOS: always uses mailto: for compose, ensuring pre-filled fields work reliably.
    • Improved compose URL generation for Gmail and other supported apps.
    • Comprehensive error handling and fallback to mailto: for all mail apps if custom scheme fails.

    Changed

    • Cleaned up and productionized code: removed all debug/print statements and development-only code.
    • Ready for production release.

    All notable changes to this project will be documented in this file.

    Open source →
  4. 1.0.1 25 May 2025
    Release notes

    Bug Fixes

    • Fixed mail app detection in Android release builds.
    • Resolved "Abstract classes can't be instantiated!" error caused by GSON serialization issues in release mode.
    • Updated the JSON serialization for app data to use JSONObject directly instead of GSON to prevent ProGuard/R8 obfuscation problems.
    • Added proper null safety handling in native code for email content fields.
    • Updated ProGuard rules to correctly keep necessary classes and their members.
    • Ensured consistent creation of App objects in Kotlin code.
    Open source →
  5. 1.0.0 14 May 2025
    Release notes

    Major Upgrade

    • Migrated Android plugin to v2 embedding and modern APIs.
    • Updated Android build to use AGP 8.2.2, Kotlin 1.8.22, compileSdk 35, and minSdk 26.
    • Improved compatibility with latest Flutter and Android versions.
    • Fixed platform channel and plugin registration issues.
    Open source →
  6. 0.0.7 04 Jan 2025
    Release notes

    Fix and Improve Documentation

    • Fix some deprecated dependency and update documentaiton.
    Open source →
  7. 0.0.6 04 Jan 2025
    Release notes

    Improvement

    • Downgrade platform version from 3.1.6 to 3.1.0 to remove conflict dependecies.
    Open source →
  8. 0.0.5 19 Nov 2024
    Release notes

    Added
    Improved documentation for better clarity on package usage.
    Fixed
    Minor typos and formatting issues in the README file.

    Open source →
    Release notes

    Added

    • Improved documentation for better clarity on package usage.

    Fixed

    • Minor typos and formatting issues in the README file.
    Open source →
  9. 0.0.4 19 Nov 2024
    Release notes

    Updated

    • Enhanced documentation with additional examples.
    Open source →
  10. 0.0.3 19 Nov 2024
    Release notes

    Changed

    • Updated README with clearer instructions and added Key Features section.

    Fixed

    • Resolved minor inconsistencies in the example code.
    Open source →
  11. 0.0.2 19 Nov 2024
    Release notes

    Updated

    • Improved documentation with better usage guidelines.
    Open source →
  12. 0.0.1 19 Nov 2024
    Release notes

    Initial Release

    • First release of open_mail, providing basic functionality to open mail applications on supported platforms.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive