Flutter based Mail-Service App made using Gmail API.



- Flutter
- Firebase (for getting authentication token for Gmail API)
- Gmail API
- Google Gemini for summarizing mails
This project was developed and tested in the following environment to ensure consistency across builds and platforms.
- OS: Windows 10 (Build 26100.4652)
- Architecture: Windows x64
- Locale: en-IN
- Flutter Version: 3.24.3 (stable)
- Channel: stable
- Dart Version: 3.5.3
- DevTools Version: 2.37.3
- Flutter Location:
C:\src\flutter
- Android SDK Version: 35.0.0
- Build Tools Version: 33.0.3
- NDK Version: 25.1.8937393
- Compile SDK: 34
- Java Version: 17.0.12+8-LTS-286
- Java Path:
C:\Program Files\Java\jdk-17
- Gradle Plugin Version: 8.2.2
- Kotlin Version: 1.9.10
- Kotlin JVM Target: 1.8
To ensure compatibility and access to desired Java features, make sure your project's build.gradle
file includes the following:
android {
compileOptions {
// Java 8 compatibility
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
// Kotlin JVM target version
jvmTarget = '1.8'
}
}
- Android Studio Version: 2024.2 (Giraffe)
- Location:
D:\AndroidStudio
- Flutter Plugin: Installed
- Dart Plugin: Installed
- Web Browsers:
- Chrome 138.0.7204.158
- Edge 139.0.3405.42
- Connected Devices:
- AOSP on IA Emulator (Android 9)
- Windows (desktop)
- Chrome (web)
- Edge (web)
If you're encountering NDK compatibility or build issues, set a specific NDK version as follows:
Add this inside the android
block:
android {
ndkVersion '25.2.9519653' // This had been tested
}
Tell Flutter to use this JDK:
flutter config --jdk-dir="C:\Program Files\Java\jdk-17"
To verify:
flutter config
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
- Also , Create .env file and add Gemini API KEY to use the summarisation.