adds but does not yet implement the tcpdf package, debugs email feature