update mail length