This feature request is for extension: firestore-send-email.
What feature would you like to see?
Enhancing flexibility and scalability for managing outbound emails by enabling dynamic SMTP server configuration based on Firestore documents or Google Secret Manager.
In more detail:
Introduce a new configurable parameter: useDynamicSmtpConnectionUris.
Enable dynamic SMTP connection URI configuration for outbound emails to support multiple SMTP outbound servers, catering to different customers' needs. This could involve storing each custom outbound SMTP connection URI in a Firestore collection or linking to a secret in Google Secret Manager 🔑 .
Implement synchronization of corresponding secrets in Google Secret Manager 🔑 via a Cloud Function or Firestore onWrite document trigger, empowering customers to manage their SMTP configurations autonomously.
For new documents in the email collection, the extension would examine the outboundSmtpServerId field (a new addition to email documents). If this field is specified and not set to "default", the extension would retrieve the connection URI from a Firestore document stored at a specified path designated by the new configurable parameter smtpConfigurationsCollection. If the document is linked to a secret, it will access the secret accordingly.
If outboundSmtpServerId is undefined, null, or set to "default", the base SMTP connection URI will be utilized.
How would you use it?
Incorporating these features would be particularly advantageous for scenarios involving diverse customers or varying SMTP configurations, such as allowing customers to use their own email servers for outbound email.
In addition, these enhancements open up possibilities for more tailored email communication strategies, e.g. enabling businesses to personalize their outgoing emails based on specific customer segments or preferences. This increased customization can significantly improve engagement and user experience, making the extension even more versatile for various use cases in application development.
As the implementation is highly valued, I'm available to provide additional context, clarification, or details for potential implementation. 🙏
This feature request is for extension:
firestore-send-email
.What feature would you like to see?
Enhancing flexibility and scalability for managing outbound emails by enabling dynamic SMTP server configuration based on Firestore documents or Google Secret Manager.
In more detail:
useDynamicSmtpConnectionUris
.onWrite
document trigger, empowering customers to manage their SMTP configurations autonomously.outboundSmtpServerId
field (a new addition to email documents). If this field is specified and not set to"default"
, the extension would retrieve the connection URI from a Firestore document stored at a specified path designated by the new configurable parametersmtpConfigurationsCollection
. If the document is linked to a secret, it will access the secret accordingly.undefined
,null
, or set to"default"
, the base SMTP connection URI will be utilized.How would you use it?
Incorporating these features would be particularly advantageous for scenarios involving diverse customers or varying SMTP configurations, such as allowing customers to use their own email servers for outbound email.
In addition, these enhancements open up possibilities for more tailored email communication strategies, e.g. enabling businesses to personalize their outgoing emails based on specific customer segments or preferences. This increased customization can significantly improve engagement and user experience, making the extension even more versatile for various use cases in application development.
As the implementation is highly valued, I'm available to provide additional context, clarification, or details for potential implementation. 🙏