Email Record: On resource allocation for communication systems with delay and secrecy constraints /