Get the author mail from git information.

def author_mail_from_git(self):
        """ Get the author mail from git information. """
        try:
            # launch git command and get answer
            cmd = Popen(["git", "config", "--get", "user.email"], stdout=PIPE)
            stdoutdata = cmd.communicate()
            if (stdoutdata[0]):
                self.author_mail = stdoutdata[0].rstrip(os.linesep)
        except ImportError:
            pass
        except CalledProcessError:
            pass
        except OSError:
            pass

        return self.author_mail