commented out mail part of code