[FEATURE] - Refactor providers Package to Separate Email Senders into Individual Packages for Improved Modularity and Efficiency #4
Labels
enhancement
New feature or request
refactoring
Code refactoring to improve structure without changing functionality.
Is your feature request related to a problem? Please describe.
The current
providers
package imports all dependencies for all email senders, even when only one specific email sender is needed. This results in unnecessary dependencies being loaded, which can increase compile time and binary size.Describe the solution you'd like
Refactor the
providers
package to separate each email sender implementation into its own package. This will allow importing only the dependencies required for the specific email sender being used. Additionally, keep helper functions within theproviders
folder to centralize all related functionalities.Describe alternatives you've considered
An alternative solution could be to manually manage dependencies within the
providers
package, but this approach would be more complex and error-prone compared to modularizing the package structure.Additional context
This change will enhance the modularity and efficiency of the codebase by ensuring that only the necessary dependencies are imported, leading to potentially faster compile times and smaller binary sizes.
The text was updated successfully, but these errors were encountered: