Define the variable userLatLng outside the geolocationSuccess() function otherwise it is only accessible inside the function.
At the same time you can assign the value of that variable to a hidden input and send it through email.
Swap the order of these:
function geolocationSuccess(position) {
var userLatLng = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
For this:
var userLatLng;
function geolocationSuccess(position) {
userLatLng = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
Major edit:
I am able to access the content by adding this just before the body tag is closed:
<script>
$("#the_trigger").click(function(){
alert($("#address").html());
});
</script>
And adding an ID of "the_trigger" to the submit button.
<input id="the_trigger" type='submit' value='Send'>