fix email bug and add link