more coding for outlook plugin