Mail learns your prefer­ences by analyzing your usage patterns over time and automatic­ally switches the “send from” address to the one you got the email to.