Add a mock Request object method.
Update the Interface and implementation for CloudMailin accordingly.
Rename the test and add a comment.
Add logic and tests for parsing the email headers.