Add timeout to ajax email call.