Problem is that on a ajax call the #pubid is getting lost so AddThis doesn't know who is making the call.
This worked for me:
Found the answer to this issue on the support site of addthis.com: http://support.addthis.com/customer/portal/questions/240144-email-template-when-using-ajax-bug-?t=89322