Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/praveendias1180/wp_mail/archive/refs/heads/master.zipUpdates itself. It ships its own updater (Update URI header), so new versions appear under Dashboard → Updates.
wpsend Replacement
If your local WordPress installation can not use wpsend, then you can use this plugin to make it work using GMail SMTP.
Use mail-config-sample.php. Fill values and rename to mail-config.php.
References
https://developer.wordpress.org/reference/functions/wpmail/
https://developer.wordpress.org/reference/hooks/prewpmail/
https://github.com/PHPMailer/PHPMailer