First working version of an email gateway to convert an email message into a gitlab issue comment. The wrinkle is in how we map the email address into a gitlab user. We have to search the user DB looking for a match against the username or email. You can guess what is going to happen, eh?
First working version of an email gateway to convert an email message
into a gitlab issue comment. The wrinkle is in how we map the email
address into a gitlab user. We have to search the user DB looking for
a match against the username or email. You can guess what is going to
happen, eh?

I tested it with this data file:

	From: Leigh Stoller <lbstoller@gmail.com>
	To: lbstoller@gmail.com
	Subject: gitlab issue: [emulab/emulab-devel] issue #10

	This is another comment.

running it like this:

	gitlab> cat foo.txt | email2issue -c /git/gitmaild.conf

and it add a new comment to:

	https://gitlab.flux.utah.edu/emulab/emulab-devel/issues/10

nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome,nmc-probe/emulab-nome