async mail sending
helper methods for generating url and signing it