Gravar-mail: Computational optimization problems in social interaction and empathic social emotion