Modify email library