fixed line breaks to be <br> in html emails. Added slug to url in emails