rsvp linked

changed email function to happen only if isset