added email checking
add support for auto linking urls ending in a slash