Samsung has emailed a cybersecurity incident notice to users whose data may have been accessed by hackers.