Embed a Spotify player in your emails.
$ npm i ruiquelhas/mixmax-spotify-play-link-resolver
Follow the instructions here and replace the hostname with one provided when you run the following command:
$ ./node_modules/.bin/mixmax-spotify-play
If you want TLS support, make sure you have a valid certificate that matches the hostname.
$ ./node_modules/.bin/mixmax-spotify-play -k <tls_key_path> -c <tls_certificate_path>
The regular expression should also match a valid Spotify track link, such as:
open.spotify.com/track/[^\/]+-[^\/]+$