In general, emails have now replaced the old-fashioned hand written note for an immediate follow up after an interview. Send it 3-24 hours after your interview, during business hours.