Read text files and parse data - spark

I have a directory full of text files that is in a email format. Each file is of the following format.

----Email01.txt BEGIN ------
Message-ID: 84950814.1039855309681.JavaMail.ivans@hymn
Date: Sun, 30 Dec 2018 23:26:42 -0800 (PST)
From: anchord@anchordesk.hotmail.com
To: bgates@gmail.com
Subject: ANCHORDESK: Hope ahead: What I learned

Hello…

Regards
----Email01.txt END ------

I’m trying to write scala code to create a DataFrame with these columns

Message-ID, Date, From, To, Subject
84950814.1039855309681.JavaMail.ivans@hymn, Sun, 30 Dec 2018 23:26:42 -0800 (PST), anchord@anchordesk.hotmail.com, bgates@gmail.com, “ANCHORDESK: Hope ahead: What I learned”

Thanks.