change logging and sending email with aspects