As a tenant in a rental unit in California you have the right to a home that meets the standards outlined in the state’s warranty of habitability. This includes the basics, like heat, hot water and unbroken windows and doors. It also specifies that there must be an adequate receptacle for garbage and a mailbox with a key for each unit.
If your landlord is in in any way violating the warranty, then you should ask them to fix it.
The information provided on this website does not, and is not intended to, constitute legal advice.