Registre de correu electrònic: Swarming and pattern formation due to selective attraction and repulsion