Made links in mail dynamic

Added prerender script to improve the runtime of premailer when
actually sending a mail