parse and store email subject