Email Record: Robust unsupervised outlier detection in IoT using contrastive learning-driven autoencoders