The emission of Ultra-High Energy Cosmic Rays from electromagnetic black holes