add automated email flag