double quotes to single quotes and merged clean_email and str_to_array