fix stack trace printing and switch to battle droid messaging system in IpMailer