Question: can i use btw in email?
Answer: The phrase by the way is not especially informal, and you may freely use it in formal situations. However, if you wish to use a variant which is more formal, then you could use a substitute such as: Speaking of which, This brings to mind.