Send email only if not on localhost