improve send email and used to home AP notification