add function for mail magazine