Avoid going out of bounds for special URL chars ending mail contents.