Swoosh MsGraph Adapter not finding gen_smtp

I’m attempting to utilize the new MSGraph adapter and it mostly works - the one issue I’m having is that even though I’ve got gen_smtp in my deps (and in the lock), I’m getting the error:

[error] The following dependencies are required to use Swoosh.Adapters.MsGraph:

- :gen_smtp

The error is triggered by this bit of code:

  @spec validate_dependency([module | {atom, module}]) ::
          :ok | {:error, [module | {:atom | module}]}
  def validate_dependency(required_deps) do
    if Enum.all?(required_deps, fn
         {_lib, module} -> Code.ensure_loaded?(module)
         module -> Code.ensure_loaded?(module)
       end),
       do: :ok,
       else: {:error, required_deps}
  end

And unless I go and manually update the required dependencies for that adapter to be [gen_smtp: :gen_smtp_client] as with other adapters that have any bit of similar dependency requirement, it fails with an error.

So what I’m kinda looking for help here on is twofold:

  1. Assuming the dependency definition is correct, how do I get it to pick up gen_smtp?

  2. Is the dependency definition correct? It likely only requires the client, but I’m not super aware of the internals here of how this adapter is referencing it. Even further, does this requirement make any sense at all when using the MS Graph API, since it’s really just backed by a Rest API?

Thanks for any insight someone might have on either of these!