now automatically sends email