Nope, can't do it. Sorry, this is obviously all a level higher than my paygrade.
composer require mailgun:*
doesn't work.
In case its relevant to my situation, I see messages in composer like this:
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead
I haven't managed to work out how to get rid of it without breaking anything.