Optimize E-mail Marketing in a Shifting Environment