fix mailer and change get_url
FpsUrl to AtmUrl