Fix array issue in email.