Gamma-decay from dipole vibrations: Probe for nuclear properties