Fix two errors in sendRefundEmail()