Both handwritten notes and thank-you emails are acceptable, but each may be best suited for different situations. For example, if your job interview was with a company that puts a lot of value on a familial atmosphere, the personal nature of a handwritten note would probably appeal to the hiring manager. If the company prioritises modernity and efficiency, however, a thank-you email would probably get the best results.