I don't think your friend is right and it would be interesting to see the grammar book where she found Who, the devil, do you think you are? She is applying a general rule to a specific example and in this case it fails... would she put commas around those examples?
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.