But to make a personal connection, I would also sometimes do it in a professional setting.
To tell you truth though, in the modern era email, text or voice mail is normally how it gets done.
No one is going to expect an actual personal handwritten note IMO.