The second option is probably easier to set up than using an external library.

Cheers,
_