Edit mail app code