Simplest possible mechanisms for:
1) Create an email sign up div using php which adds the email address and name to a file on the server if it is not there already AND sends an email (with the email as the from) to an address of mine.
2) Create a mechanism to detect whether the user has visited before: if so load some javascript
if not load some other javascript.