The rule of thumb is to get a thank you note in the mail or send it via email within 24 hours after your job interview. Before your interview, you can write a draft of the thank you letter and then add details to it after the interview ends to personalize it.