I use csvde to export this kind of information for a
current automated process. The mail and proxy address
shold give all of the addresses including SMTP. I am
reworking it though to hit the Global Cat with VBS to
eliminate the need for an export from AD. I sanitized the
command for you put % symbol around what I removed.
csvde -f \\%servername%\\Match.csv -l
DN,name,mail,givenName,initials,proxyAddresses,sAMAccountNa
me,sn,extensionAttribute5,title,extensionAttribute1,extensi
onAttribute6,physicalDeliveryOfficeName,department -
r "(objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=
%domainName%,DC=com)" -s %DCname%.%domain%.com -b %
username% %password%