Store action in mailer.

Will be useful for stuff, maybe. >.>
Add license information and bump version.

Change-Id: Ie989f367241e6d3dbe1e71434708d20e2a668106