initializeProvider creates a provider instance based on the provider type isPrimary indicates whether this is a primary provider (returns error) or fallback (logs warning)
(providerType emailtypes.EmailProviderType, isPrimary bool)
source not stored for this graph (policy: none)
no test coverage detected