fixed final BTC amount displayed bug and updated SMTP script